diff options
author | Alex Browne <stephenalexbrowne@gmail.com> | 2018-11-08 07:29:34 +0800 |
---|---|---|
committer | Alex Browne <stephenalexbrowne@gmail.com> | 2018-12-05 06:24:48 +0800 |
commit | 8248fbb231a0c0acd59fd1f265114dd6dc78a253 (patch) | |
tree | 7e1ef92c4ed8245b243d4ffaedc8690f913e6ac0 /packages/pipeline/src/index.ts | |
parent | dca2a4e9c2712f67852bed4ae6ae76c6434f7e56 (diff) | |
download | dexon-sol-tools-8248fbb231a0c0acd59fd1f265114dd6dc78a253.tar dexon-sol-tools-8248fbb231a0c0acd59fd1f265114dd6dc78a253.tar.gz dexon-sol-tools-8248fbb231a0c0acd59fd1f265114dd6dc78a253.tar.bz2 dexon-sol-tools-8248fbb231a0c0acd59fd1f265114dd6dc78a253.tar.lz dexon-sol-tools-8248fbb231a0c0acd59fd1f265114dd6dc78a253.tar.xz dexon-sol-tools-8248fbb231a0c0acd59fd1f265114dd6dc78a253.tar.zst dexon-sol-tools-8248fbb231a0c0acd59fd1f265114dd6dc78a253.zip |
Update relayer code to use new relayer-registry format
Diffstat (limited to 'packages/pipeline/src/index.ts')
-rw-r--r-- | packages/pipeline/src/index.ts | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/packages/pipeline/src/index.ts b/packages/pipeline/src/index.ts index 9483eb257..b42256d87 100644 --- a/packages/pipeline/src/index.ts +++ b/packages/pipeline/src/index.ts @@ -16,7 +16,10 @@ import { parseRelayers } from './parsers/relayer_registry'; import { parseBlock, parseTransaction } from './parsers/web3'; const EXCHANGE_START_BLOCK = 6271590; // Block number when the Exchange contract was deployed to mainnet. -const RELAYER_REGISTRY_URL = 'https://raw.githubusercontent.com/0xProject/0x-relayer-registry/master/relayers.json'; +// NOTE(albrow): We need to manually update this URL for now. Fix this when we +// have the relayer-registry behind semantic versioning. +const RELAYER_REGISTRY_URL = + 'https://raw.githubusercontent.com/0xProject/0x-relayer-registry/4701c85677d161ea729a466aebbc1826c6aa2c0b/relayers.json'; let connection: Connection; |