This PR adds support for testnet on the snapshot resolver (user-avatar, user-cover, space-cover, space-avatar)
This PR introduces a new address format (NETWORK:ADDRESS), e.g. s:ens.eth or s-tn:0x91FD2c8d24767db4Ece7069AA27832ffaf8590f3, while still be backward compatible with the previous ADDRESS format
In a later PR, the space-sx resolver will be merge into this one, and the network prefix will allow targeting the network API, and avoid polling all onchain api on each call
Closes https://github.com/snapshot-labs/workflow/issues/220
This PR adds support for testnet on the snapshot resolver (user-avatar, user-cover, space-cover, space-avatar)
This PR introduces a new address format (
NETWORK:ADDRESS
), e.g.s:ens.eth
ors-tn:0x91FD2c8d24767db4Ece7069AA27832ffaf8590f3
, while still be backward compatible with the previousADDRESS
formatHow to test
Note
This is the first step of a refactoring process.
In a later PR, the space-sx resolver will be merge into this one, and the network prefix will allow targeting the network API, and avoid polling all onchain api on each call