Skip to content

Commit

Permalink
port QA to arbitrum sepolia testnet
Browse files Browse the repository at this point in the history
  • Loading branch information
ginesdt committed Dec 15, 2023
1 parent 8c22dfb commit 80df30b
Show file tree
Hide file tree
Showing 3 changed files with 16 additions and 29 deletions.
4 changes: 3 additions & 1 deletion src/streamtide/shared/smart_contracts_prod.cljs
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
(ns streamtide.shared.smart-contracts-prod)
(def smart-contracts
{:migrations {:name "Migrations" :address "0x5f5391A0ec248BBC7906242Ec9D10394158Fd70b"} :streamtide {:name "MVPCLR" :address "0x89Cf0c5f93189642911412D2d49E4b872689F44e"} :streamtide-fwd {:name "MutableForwarder" :address "0x6Db2844F211580ae950Ed10635AA12409Ee816De" :forwards-to :streamtide}})
{:migrations {:name "Migrations" :address "0x5f5391A0ec248BBC7906242Ec9D10394158Fd70b"}
:streamtide {:name "MVPCLR" :address "0x89Cf0c5f93189642911412D2d49E4b872689F44e"}
:streamtide-fwd {:name "MutableForwarder" :address "0x6Db2844F211580ae950Ed10635AA12409Ee816De" :forwards-to :streamtide}})
15 changes: 6 additions & 9 deletions src/streamtide/ui/config.cljs
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,6 @@
:symbol "ETH"
:decimals 18}}
:notifiers {:web-push {:public-key "BGtkUrXx0vlsFpfmf8rDNqswKAlrSUQUE8xN4Jf6F3rtQCpbdR-vakwnUnhnVWYl1kdfUXzjfNini19ZyGVtaMM"}}
;:domain "localhost"
})

(def qa-config
Expand All @@ -30,15 +29,14 @@
:graphql {:url "https://api.streamtide.qa.district0x.io/graphql"}
:smart-contracts {:contracts smart-contracts-qa/smart-contracts}
:verifiers {:discord {:client-id "1135876901093781544"}}
:web3-chain {:chain-id "421613"
:rpc-urls ["https://goerli-rollup.arbitrum.io/rpc"]
:chain-name "Arbitrum Testnet"
:native-currency {:name "AGOR"
:symbol "AGOR"
:web3-chain {:chain-id "421614"
:rpc-urls ["https://sepolia-rollup.arbitrum.io/rpc"]
:chain-name "Arbitrum Sepolia"
:native-currency {:name "ETH"
:symbol "ETH"
:decimals 18}
:block-explorer-urls ["https://testnet.arbiscan.io/"]}
:block-explorer-urls ["https://sepolia.arbiscan.io/"]}
:notifiers {:web-push {:public-key "BGtkUrXx0vlsFpfmf8rDNqswKAlrSUQUE8xN4Jf6F3rtQCpbdR-vakwnUnhnVWYl1kdfUXzjfNini19ZyGVtaMM"}}
;:domain "TBD"
})

(def production-config
Expand All @@ -55,7 +53,6 @@
:decimals 18}
:block-explorer-urls ["https://explorer.arbitrum.io"]}
:notifiers {:web-push {:public-key "BGtkUrXx0vlsFpfmf8rDNqswKAlrSUQUE8xN4Jf6F3rtQCpbdR-vakwnUnhnVWYl1kdfUXzjfNini19ZyGVtaMM"}}
;:domain "TBD"
})

(def config-map
Expand Down
26 changes: 7 additions & 19 deletions truffle.js
Original file line number Diff line number Diff line change
Expand Up @@ -20,14 +20,16 @@ let parameters = {
admins: [
"0x11b23AE13EBACc03Fa0af256fdED729439A45ab5",
"0xb078844477A5420cB627C1961B30ED33E0126973",
"0x0A0A8610F57fE41EC26D5163d1Eb986cE598dc5F"]
"0x0A0A8610F57fE41EC26D5163d1Eb986cE598dc5F",
"0x0940f7D6E7ad832e0085533DD2a114b424d5E83A"]
},
"prod" : {
multiSig: "0xf7190fa8c89F7c57ff77b8Bc0Da85e9a2daF70Ad",
admins: [
"0xf7190fa8c89F7c57ff77b8Bc0Da85e9a2daF70Ad",
"0xb078844477A5420cB627C1961B30ED33E0126973",
"0x0A0A8610F57fE41EC26D5163d1Eb986cE598dc5F"]
"0x0A0A8610F57fE41EC26D5163d1Eb986cE598dc5F",
"0x0940f7D6E7ad832e0085533DD2a114b424d5E83A"]
}
};

Expand All @@ -44,27 +46,13 @@ module.exports = {
gasPrice: 20e9, // 20 gwei, default for ganache
network_id: '*'
},
"infura-goerli": {
provider: () => new HDWalletProvider(process.env.GOERLI_PRIV_KEY, "https://goerli.infura.io/v3/" + process.env.INFURA_API_KEY),
network_id: 5,
gas: 6e6,
gasPrice: 6e9,
skipDryRun: true
},
"alchemy-arbitrum-goerli": {
provider: () => new HDWalletProvider(process.env.ARBITRUM_GOERLI_PRIV_KEY, "https://arb-goerli.g.alchemy.com/v2/" + process.env.ALCHEMY_API_KEY),
network_id: 421613,
"alchemy-arbitrum-sepolia": {
provider: () => new HDWalletProvider(process.env.ARBITRUM_SEPOLIA_PRIV_KEY, "https://arb-sepolia.g.alchemy.com/v2/" + process.env.ALCHEMY_API_KEY),
network_id: 421614,
gas: 6e6,
gasPrice: 1e9,
skipDryRun: true
},
"infura-mainnet": {
provider: () => new HDWalletProvider(process.env.MAINNET_PRIV_KEY, "https://mainnet.infura.io/v3/" + process.env.INFURA_API_KEY),
network_id: 1,
gas: 6e6,
gasPrice: 9e9,
skipDryRun: true
},
"alchemy-arbitrum-mainnet": {
provider: () => new HDWalletProvider(process.env.ARBITRUM_PRIV_KEY, "https://arb-mainnet.g.alchemy.com/v2/" + process.env.ALCHEMY_API_KEY),
network_id: 42161,
Expand Down

0 comments on commit 80df30b

Please sign in to comment.