Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unexpected token JSON | Error Deploy Contract on private blockchain #380

Open
avenbreaks opened this issue Aug 6, 2024 · 0 comments
Open

Comments

@avenbreaks
Copy link

I Got Error deploying all the contract ENS on my private blockchain based optimism. in the BATCH_GATEWAY_URLS, how to get?

and other log like this :

hardhat deploy --network glide

Nothing to compile
(node:8290) [DEP0005] DeprecationWarning: Buffer() is deprecated due to security and usability issues. Please use the Buffer.alloc(), Buffer.allocUnsafe(), or Buffer.from() methods instead.
(Use `node --trace-deprecation ...` to show where the warning was created)
reusing "RSASHA1Algorithm" at 0x34E59e53Bd4f1A60ca8b6c21572509027571341d
reusing "RSASHA256Algorithm" at 0x20F43316cf784C821a65aE874c8060f30c30c7C4
reusing "P256SHA256Algorithm" at 0x9B4aC8FAfC44575C6963fA22D50963379e899a49
reusing "SHA1Digest" at 0xa115891Cae16388b84cb7a521A2032f6b354FE25
reusing "SHA256Digest" at 0x6ad448bF2AdbF3A7Aa9BfE411eD908315566aE24
reusing "DNSSECImpl" at 0xa4F9a0FCAce423B1AC9497705c4470A713cF839c
Waiting on 0 transactions setting DNSSEC parameters
reusing "OffchainDNSResolver" at 0x2572e04Caf46ba8692Bd6B4CBDc46DAA3cA9647E
Deployed OffchainDNSResolver to 0x2572e04Caf46ba8692Bd6B4CBDc46DAA3cA9647E
reusing "TLDPublicSuffixList" at 0x43E77eC0D2079A046736969391F0b9e7CE3f4A45
deploying "DNSRegistrar" (tx: 0xed950319d1832aaeb0a3c528fa03b0abec66c83c58b33aeaf01115748649b1ce)...: deployed at 0x6C7B96639F72912a60A94BBcC80644B0dF8e6C1E with 1837104 gas
Deployed DNSRegistrar to 0x6C7B96639F72912a60A94BBcC80644B0dF8e6C1E
Set DNSRegistrar as controller of Root (0xa9034329c12f90531292c408e10192645eb1b36b09148329d8b24d360a95565c)
reusing "BaseRegistrarImplementation" at 0x3beb924592A2e4f08DD7C0997563eFd1601c6a33
reusing "DummyOracle" at 0x451632B70577a9D12fC8284a5C5e65DC03d8Da1a
reusing "ExponentialPremiumPriceOracle" at 0x1f5466599D672402C804cc80c676B0b49c8bBC13
reusing "StaticMetadataService" at 0x1Ef8f58544Ca4d9b1e34E2F9Cd1b37257C618C6D
reusing "ReverseRegistrar" at 0xce79BCB6Ca09C5F9939b22Bd37498781476264CC
reusing "NameWrapper" at 0x4ee108458a4D97dAa2f8eF90A73942AC7B3a9209
reusing "TestUnwrap" at 0x8FCAC40e1302273Cac387696EBdaFf39FDfa172A
No testnet wrappers found, skipping
reusing "ETHRegistrarController" at 0xb8348E945900083A270D9244614d09F9c4937d75
reusing "BulkRenewal" at 0x97186594dA62AF0FCdf266E9eAc4736dcA6E6EAE
No resolver set for .guru; not setting interface for BulkRenewal
/Users/macbookpro/Documents/projects/glide/mns-contracts/contracts/multicall/multicall.json
Multicall JSON file found, using it...
reusing "PublicResolver" at 0xb3e2d928Da7c16d53a8d6DaA14314159fa262754
An unexpected error occurred:

Error: ERROR processing /Users/macbookpro/Documents/projects/glide/mns-contracts/deploy/utils/00_deploy_universal_resolver.ts:
SyntaxError: Unexpected token h in JSON at position 0
    at JSON.parse (<anonymous>) 
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant