From f77e61b4036b18887fd5cf30a8ef81d36d797065 Mon Sep 17 00:00:00 2001 From: Willem Olding Date: Fri, 17 May 2024 10:57:30 +1000 Subject: [PATCH 1/2] deploy application and add address to fly.toml and config --- bridge-frontend/src/config.json | 4 ++-- fly.toml | 10 +++++----- 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/bridge-frontend/src/config.json b/bridge-frontend/src/config.json index 19e5192..fbdb9be 100644 --- a/bridge-frontend/src/config.json +++ b/bridge-frontend/src/config.json @@ -13,7 +13,7 @@ "Erc721PortalAddress":"0x237F8DD094C0e47f4236f12b4Fa01d6Dae89fb87", "Erc1155SinglePortalAddress":"0x7CFB0193Ca87eB6e48056885E026552c3A941FC4", "Erc1155BatchPortalAddress":"0xedB53860A6B52bbb7561Ad596416ee9965B055Aa", - "DAppAddress": "0xab7528bb862fB57E8A2BCd567a2e929a0Be56a5e" + "DAppAddress": "0x6D535e95C78d564DE9f241f4651131023688d706" }, "0xaa36a7":{ "token": "SepETH", @@ -29,6 +29,6 @@ "Erc721PortalAddress":"0x237F8DD094C0e47f4236f12b4Fa01d6Dae89fb87", "Erc1155SinglePortalAddress":"0x7CFB0193Ca87eB6e48056885E026552c3A941FC4", "Erc1155BatchPortalAddress":"0xedB53860A6B52bbb7561Ad596416ee9965B055Aa", - "DAppAddress": "0xab7528bb862fB57E8A2BCd567a2e929a0Be56a5e" + "DAppAddress": "0x6D535e95C78d564DE9f241f4651131023688d706" } } diff --git a/fly.toml b/fly.toml index 6af76e8..15bcb01 100644 --- a/fly.toml +++ b/fly.toml @@ -26,10 +26,10 @@ memory = "2gb" [env] CARTESI_BLOCKCHAIN_FINALITY_OFFSET = "1" CARTESI_BLOCKCHAIN_ID = "11155111" -CARTESI_CONTRACTS_APPLICATION_ADDRESS = "0x47432A4070539BeF308B24a7AAE2940b801d0681" -CARTESI_CONTRACTS_APPLICATION_DEPLOYMENT_BLOCK_NUMBER = "5701493" -CARTESI_CONTRACTS_AUTHORITY_ADDRESS = "0xf08C66979E9297bb16BB13f70Eb237b75A73Bbd0" -CARTESI_CONTRACTS_HISTORY_ADDRESS = "0xed488E391616f44ACf13e62Ee615da8E8D079dD5" +CARTESI_CONTRACTS_APPLICATION_ADDRESS = "0x6D535e95C78d564DE9f241f4651131023688d706" +CARTESI_CONTRACTS_APPLICATION_DEPLOYMENT_BLOCK_NUMBER = "5918062" +CARTESI_CONTRACTS_AUTHORITY_ADDRESS = "0x13E4374D98c21074a9216E7656a77f9bB62B603F" +CARTESI_CONTRACTS_HISTORY_ADDRESS = "0x1eD1A0Bd9dc725DCa7b35854F92f9A61492FEa0c" CARTESI_CONTRACTS_INPUT_BOX_ADDRESS = "0x59b22D57D4f067708AB0c00552767405926dc768" CARTESI_CONTRACTS_INPUT_BOX_DEPLOYMENT_BLOCK_NUMBER = "3963384" -CARTESI_EPOCH_DURATION = "86400" \ No newline at end of file +CARTESI_EPOCH_DURATION = "86400" From 16d6dc8dcba259a275258b050382d3fcbd04e37c Mon Sep 17 00:00:00 2001 From: Willem Olding Date: Fri, 17 May 2024 11:01:00 +1000 Subject: [PATCH 2/2] update deployment instructions --- docs/DEPLOYMENT.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/DEPLOYMENT.md b/docs/DEPLOYMENT.md index 24c1cd5..1cad5f3 100644 --- a/docs/DEPLOYMENT.md +++ b/docs/DEPLOYMENT.md @@ -28,7 +28,7 @@ https://sunodo.io/deploy?templateHash= ``` and select the chain to deploy to and provide the wallet address of the dApp operator. -Make the deployment transaction and copy the resulting variables show into the [fly.toml](./fly.toml) file. +Make the deployment transaction and copy the resulting variables show into the [fly.toml](../fly.toml) file. Also update the Dapp address in the bridge-frontent [config.json](../bridge-frontend/src/config.json). ## Hosted Deployments (via Github actions)