• William Morriss's avatar
    internal/ethapi: add CallArgs.ToMessage method (#20854) · 3cf7d2e9
    William Morriss authored
    ToMessage is used to convert between ethapi.CallArgs and types.Message.
    It reduces the length of the DoCall method by about half by abstracting out
    the conversion between the CallArgs and the Message. This should improve the
    code's maintainability and reusability.
    3cf7d2e9
api.go 63.2 KB