Skip to content

Commit

Permalink
Merge pull request #20 from aldrin-labs/update-pkg-ids-in-cfgs
Browse files Browse the repository at this point in the history
Update RAMM package IDs in deployment configs
  • Loading branch information
rockbmb authored Mar 29, 2024
2 parents 06d5431 + 0564b49 commit 5effa6a
Show file tree
Hide file tree
Showing 6 changed files with 32 additions and 41 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/continuous-integration.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: Build/test `ramm-misc`, `ramm-sui`, `ramm-sui-deploy`
name: Build/test `ramm-misc`, `ramm-sui`
run-name: GitHub Actions CI for `ramm-sui`
on:
push:
Expand Down
3 changes: 2 additions & 1 deletion deployment_cfgs/testnet/ada_dot_sol.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
# The target network to which the RAMM will be published.
target_env = "testnet"
ramm_pkg_addr_or_path = "../ramm-sui"
#ramm_pkg_addr_or_path = "../ramm-sui"
ramm_pkg_addr_or_path = "0xb93c139768a9dfdb6898475052be3ac1d93b92dccf2288c96a8e227f3e511ef6"
asset_count = 3
fee_collection_address = "0x47c450aae7a9e4bee707d6f18156562c3516caf535a48a845a22c090a18d38b4"

Expand Down
2 changes: 1 addition & 1 deletion deployment_cfgs/testnet/btc_eth_sol.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# The target network to which the RAMM will be published.
target_env = "testnet"
#ramm_pkg_addr_or_path = "../ramm-sui"
ramm_pkg_addr_or_path = "0xd3283fa556731370cd2a7f389b3e35c630184118b5af416ce9e57edfce751496"
ramm_pkg_addr_or_path = "0xb93c139768a9dfdb6898475052be3ac1d93b92dccf2288c96a8e227f3e511ef6"
asset_count = 3
fee_collection_address = "0xa53a6598e203f035cd665c11f1213402f31214eb76b841cef4fcc3825d512a97"

Expand Down
49 changes: 13 additions & 36 deletions ramm-sui-deploy/Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

7 changes: 6 additions & 1 deletion ramm-sui/Move.lock
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

[move]
version = 0
manifest_digest = "82390F354A262686B0F5519B9FBF68A1FB7C4F5E78AD01C59F428E806D625980"
manifest_digest = "E78137C746596EC13830EFFA68C134750EAE0456EF877CBFE762ED8E55D2DD64"
deps_digest = "060AD7E57DFB13104F21BE5F5C3759D03F0553FC3229247D9A7A6B45F50D03A3"

dependencies = [
Expand Down Expand Up @@ -31,3 +31,8 @@ dependencies = [
{ name = "MoveStdlib" },
{ name = "Sui" },
]

[move.toolchain-version]
compiler-version = "1.21.1"
edition = "legacy"
flavor = "sui"
10 changes: 9 additions & 1 deletion ramm-sui/Move.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,12 @@
[package]
name = "ramm_sui"
version = "0.0.1"
# First version on package published in mainnet with ID:
# First version of package published in testnet with ID:
#published-at = "0xd3283fa556731370cd2a7f389b3e35c630184118b5af416ce9e57edfce751496"
# Upgraded to ID:
#published-at = "0xb93c139768a9dfdb6898475052be3ac1d93b92dccf2288c96a8e227f3e511ef6"

# First version of package published in mainnet with ID:
#published-at = "0xd4e097d82d73dc5d152f277bd17ba7980cad4c0b238c3609517cbd0cf686ddd1"
# Upgraded to ID:
#published-at = "0xcb6640194b37023f6bed705f40ff22883eb6007d4c69e72c317c64671f9f6b29"
Expand All @@ -15,4 +20,7 @@ SwitchboardStdLib = { git = "https://github.com/switchboard-xyz/sbv2-sui.git", s
ramm_sui = "0x0"
std = "0x1"
sui = "0x2"
# mainnet
switchboard = "0x08d79f4d920b03d88faca1e421af023a87fbb1e4a6fd200248e6e9998d09e470"
# testnet
#switchboard = "0x98670585b87e06628ef2d7f7cb1e7bee8ada65b43b82997935225a7e6e21d18e"

0 comments on commit 5effa6a

Please sign in to comment.