Skip to content

[bugfix] ignore malform token addresses

Son of Odin requested to merge malform-erc20-address into develop

Bifrost seems to have halted when it tried to parse a token address that is malformed.

{"level":"error","service":"bifrost","module":"blockscanner","chain":"ETH","error":"fail to process block: 12698101, err:fail to get one tx from server: fail to get asset from token address: fail to get token meta: fail to get symbol: fail to unpack symbol method call: abi: cannot marshal in to go slice: offset 34961168813970327555695277297180835388765524858413590296049745231963419050016 would go over slice boundary (len=32)","block height":12698101,"time":"2021-06-24T19:15:50Z","message":"fail to get RPCBlock"}

The change here is to ignore any observations from a malformed ERC20 address and continue on.

Merge request reports