[WIP] feat: Added Garnet Testnet
Description
Adds Garnet Testnet support (full support pending support by TheGraph).
Checklist:
- [ ] 1 PR, 1 purpose: my Pull Request applies to a single purpose
- [ ] I have commented my code, particularly in hard-to-understand areas
- [ ] I have updated the docs to reflect my changes if applicable
- [ ] I have added tests (and stories for frontend components) that prove my fix is effective or that my feature works
- [ ] I have performed a self-review of my own code
- [ ] If my code involves visual changes, I am adding applicable screenshots to this thread
Release Note Draft Snippet
Thank you for your pull request and welcome to Unlock! We require contributors to sign our Contributor License Agreement, and we don't seem to have the users @blurpesec on file.
In order for us to review and merge your code, please open another pull request with a single modification: your github username added to the file .clabot.
Thank you!
Thanks @blurpesec ! @clemsos will look into that ASAP. Can you send a bit of test eth to clemsos.eth and hot.julien51.eth by chance?
Error: could not decode result data (value="0x", info={ "method": "publicLockLatestVersion", "signature": "publicLockLatestVersion()" }, code=BAD_DATA, version=6.13.2) at makeError (/home/runner/work/unlock/unlock/node_modules/ethers/src.ts/utils/errors.ts:694:21) at assert (/home/runner/work/unlock/unlock/node_modules/ethers/src.ts/utils/errors.ts:715:25) at Interface.decodeFunctionResult (/home/runner/work/unlock/unlock/node_modules/ethers/src.ts/abi/interface.ts:916:15) at staticCallResult (/home/runner/work/unlock/unlock/node_modules/ethers/src.ts/contract/contract.ts:346:35) at process.processTicksAndRejections (node:internal/process/task_queues:95:5) at async staticCall (/home/runner/work/unlock/unlock/node_modules/ethers/src.ts/contract/contract.ts:303:24) at async Proxy.publicLockLatestVersion (/home/runner/work/unlock/unlock/node_modules/ethers/src.ts/contract/contract.ts:351:41) at async getTemplateAddresses (/home/runner/work/unlock/unlock/packages/networks/bin/utils/contracts.ts:78:23) at async getAllAddresses (/home/runner/work/unlock/unlock/packages/networks/bin/utils/contracts.ts:17:5) at async run (/home/runner/work/unlock/unlock/packages/networks/bin/validate.ts:53:23) { code: 'BAD_DATA', value: '0x', info: { method: 'publicLockLatestVersion', signature: 'publicLockLatestVersion()' }, shortMessage: 'could not decode result data' } Could not process the file: could not decode result data (value="0x", info={ "method": "publicLockLatestVersion", "signature": "publicLockLatestVersion()" }, code=BAD_DATA, version=6.13.2)
Thanks @blurpesec ! @clemsos will look into that ASAP. Can you send a bit of test eth to clemsos.eth and hot.julien51.eth by chance?
@julien51 sent
Error: could not decode result data (value="0x", info={ "method": "publicLockLatestVersion", "signature": "publicLockLatestVersion()" }, code=BAD_DATA, version=6.13.2) at makeError (/home/runner/work/unlock/unlock/node_modules/ethers/src.ts/utils/errors.ts:694:21) at assert (/home/runner/work/unlock/unlock/node_modules/ethers/src.ts/utils/errors.ts:715:25) at Interface.decodeFunctionResult (/home/runner/work/unlock/unlock/node_modules/ethers/src.ts/abi/interface.ts:916:15) at staticCallResult (/home/runner/work/unlock/unlock/node_modules/ethers/src.ts/contract/contract.ts:346:35) at process.processTicksAndRejections (node:internal/process/task_queues:95:5) at async staticCall (/home/runner/work/unlock/unlock/node_modules/ethers/src.ts/contract/contract.ts:303:24) at async Proxy.publicLockLatestVersion (/home/runner/work/unlock/unlock/node_modules/ethers/src.ts/contract/contract.ts:351:41) at async getTemplateAddresses (/home/runner/work/unlock/unlock/packages/networks/bin/utils/contracts.ts:78:23) at async getAllAddresses (/home/runner/work/unlock/unlock/packages/networks/bin/utils/contracts.ts:17:5) at async run (/home/runner/work/unlock/unlock/packages/networks/bin/validate.ts:53:23) { code: 'BAD_DATA', value: '0x', info: { method: 'publicLockLatestVersion', signature: 'publicLockLatestVersion()' }, shortMessage: 'could not decode result data' } Could not process the file: could not decode result data (value="0x", info={ "method": "publicLockLatestVersion", "signature": "publicLockLatestVersion()" }, code=BAD_DATA, version=6.13.2)
Error: could not decode result data (value="0x", info={ "method": "publicLockLatestVersion", "signature": "publicLockLatestVersion()" }, code=BAD_DATA, version=6.13.2) at makeError (/home/runner/work/unlock/unlock/node_modules/ethers/src.ts/utils/errors.ts:694:21) at assert (/home/runner/work/unlock/unlock/node_modules/ethers/src.ts/utils/errors.ts:715:25) at Interface.decodeFunctionResult (/home/runner/work/unlock/unlock/node_modules/ethers/src.ts/abi/interface.ts:916:15) at staticCallResult (/home/runner/work/unlock/unlock/node_modules/ethers/src.ts/contract/contract.ts:346:35) at process.processTicksAndRejections (node:internal/process/task_queues:95:5) at async staticCall (/home/runner/work/unlock/unlock/node_modules/ethers/src.ts/contract/contract.ts:303:24) at async Proxy.publicLockLatestVersion (/home/runner/work/unlock/unlock/node_modules/ethers/src.ts/contract/contract.ts:351:41) at async getTemplateAddresses (/home/runner/work/unlock/unlock/packages/networks/bin/utils/contracts.ts:78:23) at async getAllAddresses (/home/runner/work/unlock/unlock/packages/networks/bin/utils/contracts.ts:17:5) at async run (/home/runner/work/unlock/unlock/packages/networks/bin/validate.ts:53:23) { code: 'BAD_DATA', value: '0x', info: { method: 'publicLockLatestVersion', signature: 'publicLockLatestVersion()' }, shortMessage: 'could not decode result data' } Could not process the file: could not decode result data (value="0x", info={ "method": "publicLockLatestVersion", "signature": "publicLockLatestVersion()" }, code=BAD_DATA, version=6.13.2)
TypeError: bad address checksum (argument="address", value="0x839fdccb5bf005cbdd84dd2700fbd9B64bd94772", code=INVALID_ARGUMENT, version=6.13.2)
at makeError (/home/runner/work/unlock/unlock/node_modules/ethers/src.ts/utils/errors.ts:687:21)
at assert (/home/runner/work/unlock/unlock/node_modules/ethers/src.ts/utils/errors.ts:715:25)
at assertArgument (/home/runner/work/unlock/unlock/node_modules/ethers/src.ts/utils/errors.ts:727:5)
at getAddress (/home/runner/work/unlock/unlock/node_modules/ethers/src.ts/address/address.ts:131:23)
at resolveAddress (/home/runner/work/unlock/unlock/node_modules/ethers/src.ts/address/checks.ts:108:67)
at
Closing as stale