issuer-node icon indicating copy to clipboard operation
issuer-node copied to clipboard

Getting error while publishing the did on chain.

Open varshney565 opened this issue 2 years ago • 6 comments

Hi, I am running one EVM chain other than the one mentioned in iden3-core-library. I am also sharing the code by which I am adding the chain in iden3 library

params := core.DIDMethodNetworkParams{ Method: core.DIDMethodPolygonID, Blockchain: core.Blockchain("arbitrium"), Network: core.NetworkID("test"), NetworkFlag: 0b0100_0001, } err := core.RegisterDIDMethodNetwork(params, core.WithChainID(421613)) if err != nil { log.Info(ctx, "ERROR WHILE ADDING arbitrium CHAIN Stage Network !", err) return }

the error that i am getting is no contract code at given address.

aaaaaaaaaa

varshney565 avatar May 07 '24 05:05 varshney565

@martinsaporiti

varshney565 avatar May 07 '24 07:05 varshney565

Hi you must add arbitrium network to the deploy script before deploy state contract: https://github.com/iden3/contracts/blob/2b29b3ac0c51fc6225ff1b786abc1194acb353f3/helpers/ChainIdDefTypeMap.ts

martinsaporiti avatar May 10 '24 12:05 martinsaporiti

Yes I have done that I have set the value to 0x241. and while adding the blockchain I have set the value of networkflag to 0b1000001

varshney565 avatar May 10 '24 13:05 varshney565

@varshney565 could you share the contract address that you deployed to arbitrium, please?

ilya-korotya avatar May 10 '24 18:05 ilya-korotya

This issue is stale because it has been open 20 days with no activity. Remove stale label, add the enhancement label or comment to avoid closing it in 10 days.

github-actions[bot] avatar May 31 '24 05:05 github-actions[bot]

This issue was closed because it has been stalled for 10 days with no activity.

github-actions[bot] avatar Jun 11 '24 05:06 github-actions[bot]