Skip to content

Commit

Permalink
Merge pull request #100 from 0xPolygonID/remove_network_flag_from_yaml
Browse files Browse the repository at this point in the history
chore: remove custom registration
  • Loading branch information
martinsaporiti authored Oct 22, 2024
2 parents 38e03e4 + 910d3d5 commit e4ece82
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 9 deletions.
5 changes: 0 additions & 5 deletions .github/workflows/deploy_new_account.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,11 +35,6 @@ env:
PRIVADO_TEST_SENDER_DID: "did:iden3:privado:test:2Sn9bnRFiTYNfbS1dVTaGCUXuMfnQMUcTCAXtFv4Gr"
PRIVADO_TEST_CHAIN_ID: "21001"

CAMINO_COLUMBUS_CONTRACT_ADDRESS: "0x34eCe5eCe59B978C95147bBa6db8fb62F127e601"
CAMINO_COLUMBUS_NODE_URL: "https://columbus.camino.network/ext/bc/C/rpc"
CAMINO_COLUMBUS_SENDER_DID: "did:polygonid:camino:columbus:3E1DZ5qrNCJctmUS3nphEkfsvqYs1kL5oGTtEpYiov"
CAMINO_COLUMBUS_CHAIN_ID: "501"

LINEA_SEPOLIA_CONTRACT_ADDRESS: "0x3C9acB2205Aa72A05F6D77d708b5Cf85FCa3a896"
LINEA_SEPOLIA_SENDER_DID: "did:iden3:linea:sepolia:28itzVLBHnMJV8sdjyffcAtWCx8HZ7btdKXxs7fJ6v"
LINEA_SEPOLIA_CHAIN_ID: "59141"
Expand Down
8 changes: 4 additions & 4 deletions cmd/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -92,10 +92,10 @@ func parseResolverSettings(ctx context.Context, rs config.ResolverSettings) (map
resolver := state.NewETHResolver(networkSettings.NetworkURL, networkSettings.ContractAddress)
resolvers[prefix] = resolver

if err := registerCustomDIDMethod(ctx, chainName, networkName, networkSettings); err != nil {
log.Error(ctx, "cannot register custom DID method", "err", err)
return nil, nil, err
}
//if err := registerCustomDIDMethod(ctx, chainName, networkName, networkSettings); err != nil {
// log.Error(ctx, "cannot register custom DID method", "err", err)
// return nil, nil, err
//}

verifiersDIDs[networkSettings.ChainID] = networkSettings.DID
}
Expand Down

0 comments on commit e4ece82

Please sign in to comment.