• Mark Tyneway's avatar
    dtl: handle errors in context api · 8f72064d
    Mark Tyneway authored
    Both `GET /eth/context/latest` and `GET /eth/context/blocknumber/:number`
    rely on fetching a remote block to pull the timestamp, blocknumber and
    blockhash from. If the fetched block is not found, then properties on
    `null` will be attempted to be accessed which will result in a runtime
    error. This commit adds handling for this case to prevent that kind of
    bug.
    8f72064d
Name
Last commit
Last update
..
batch-submitter Loading commit data...
common-ts Loading commit data...
contracts Loading commit data...
core-utils Loading commit data...
data-transport-layer Loading commit data...
message-relayer Loading commit data...
regenesis-surgery Loading commit data...
replica-healthcheck Loading commit data...
sdk Loading commit data...
smock Loading commit data...