Open-Attestation / open-attestation-cli

CLI to wrap / verify / issue OpenAttestation document and more ♾️
Apache License 2.0
17 stars 31 forks source link

Failed to deploy document store to Polygon(matic), with no detail #274

Open Tilerphy opened 1 year ago

Tilerphy commented 1 year ago

.\open-attestation-win.exe deploy document-store "mydocument-store" --network matic --encrypted-wallet-path wallets.json

OS: Windows 10 CLI version: 2.3.1 Program: https://github.com/Open-Attestation/open-attestation-cli/releases/tag/v2.3.1 Windows Verson

i info Deploying document store mydocument-store ? Wallet password [hidden] ... awaiting Decrypting Wallet [====================] [100/100%] i info Wallet successfully decrypted ... awaiting Sending transaction to pool × error processing response error

What is the processing response error? and what happened?

I can ensure that I have enought MATIC in may wallet. (9.9 MATIC)

====================

I tested in mainnet of ETH, the and get another error: × error missing revert data in call exception

Tilerphy commented 1 year ago

It seems that the version of ether.js is too old.

Tilerphy commented 1 year ago

After updatding packages of project, I got some other error messages. And I found that the default Provider (INFURA) without API KEY cannot provide service correctly.

After I changed the provider to Alchemy with my own key, the issue was gone.

May be this CLI should provide some options to use other provide and their own keys.

superical commented 1 year ago

@Tilerphy Could you try the recent version v2.7.0 and see if it helps with the issue you were having?