From b73a23cd212139f282ab31cc35d03d9f66792299 Mon Sep 17 00:00:00 2001 From: Marty <149421156+ffe9f8@users.noreply.github.com> Date: Wed, 24 Jul 2024 17:52:52 +0200 Subject: [PATCH] fix: update domain_separator (#1063) --- .../dev/amplifier/chain-integration/integrate-a-chain.mdx | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/src/pages/dev/amplifier/chain-integration/integrate-a-chain.mdx b/src/pages/dev/amplifier/chain-integration/integrate-a-chain.mdx index dfb034c07..309377b50 100644 --- a/src/pages/dev/amplifier/chain-integration/integrate-a-chain.mdx +++ b/src/pages/dev/amplifier/chain-integration/integrate-a-chain.mdx @@ -322,10 +322,6 @@ You can also deploy a custom implementation of the gateway, verifier, and prover ``` 1. Instantiate the contract. - - The `domain_separator` is a String in hex format without `0x`, such as "598ba04d225cec385d1ce3cf3c9a076af803aa5c614bc0e0d176f04ac8d28f55". It is derived from the hash of the chain name, router address, and Axelar chain ID. - - ```bash axelard tx wasm instantiate $PROVER_CODE_ID \ '{ @@ -342,7 +338,7 @@ You can also deploy a custom implementation of the gateway, verifier, and prover "verifier_set_diff_threshold": 1, "encoder": "abi", "key_type": "ecdsa", - "domain_separator":[hash(chain_name, router_address, MY_CHAIN_ID)] + "domain_separator": "6973c72935604464b28827141b0a463af8e3487616de69c5aa0c785392c9fb9f" # Hash of chain name, admin address, and code ID. Value must be a String in hex format without `0x`. }' \ --keyring-backend test \ --from wallet \