533b83ad28
### Summary Context: https://github.com/wormhole-foundation/wormhole-explorer/issues/154 This PR modifies all endpoints that receive an emitter/guardian address to accept a wider range of formats. After this pull request, all of these are equivalent: * `0x000000000000000000000000f890982f9310df57d00f659cf4fd87e65aded8d7` * `000000000000000000000000f890982f9310df57d00f659cf4fd87e65aded8d7` * `0xf890982f9310df57d00f659cf4fd87e65aded8d7` * `f890982f9310df57d00f659cf4fd87e65aded8d7` ### Testing plan * Added unit tests for the parsing code. * Tested manually a few of the affected endpoints. |
||
---|---|---|
.. | ||
governor | ||
guardian | ||
heartbeats | ||
vaa | ||
routes.go |