Skip to content

Commit 71c8861

Browse files
authored
Merge branch 'main' into chore(deployment)-monad-again
2 parents 79d76a2 + 2fe9fb8 commit 71c8861

File tree

17 files changed

+62
-47
lines changed

17 files changed

+62
-47
lines changed

contract_manager/scripts/check_proposal.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -195,7 +195,7 @@ async function main() {
195195
}
196196

197197
const newImplementationCode = await getCodeDigestWithoutAddress(
198-
chain.getRpcUrl(),
198+
chain.getWeb3(),
199199
newImplementationAddress
200200
);
201201
// this should be the same keccak256 of the deployedCode property generated by truffle

contract_manager/scripts/latency_entropy_with_callback.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ async function testLatency(
5555
const startTime = Date.now();
5656

5757
const fromBlock = requestResponse.blockNumber;
58-
const web3 = new Web3(contract.chain.getRpcUrl());
58+
const web3 = contract.chain.getWeb3();
5959
const entropyContract = contract.getContract();
6060

6161
// eslint-disable-next-line no-constant-condition

contract_manager/scripts/list_entropy_contracts.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ async function main() {
2222
if (contract.getChain().isMainnet() === argv.testnet) continue;
2323
try {
2424
const provider = await contract.getDefaultProvider();
25-
const w3 = new Web3(contract.getChain().getRpcUrl());
25+
const w3 = contract.getChain().getWeb3();
2626
const balance = await w3.eth.getBalance(provider);
2727
const keeperBalance = await w3.eth.getBalance(keeperAddress);
2828
let version = "unknown";

contract_manager/scripts/load_test_entropy.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@ async function main() {
7676
const contract = findEntropyContract(chain);
7777
const provider = await contract.getDefaultProvider();
7878
const fee = await contract.getFee(provider);
79-
const web3 = new Web3(contract.chain.getRpcUrl());
79+
const web3 = contract.chain.getWeb3();
8080
const testerContract = new web3.eth.Contract(ABI, argv.testerAddress);
8181
const { address } = web3.eth.accounts.wallet.add(privateKey);
8282
const transactionObject = testerContract.methods.batchRequests(

contract_manager/store/chains/EvmChains.yaml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -850,3 +850,8 @@
850850
rpcUrl: https://rpc.test2.btcs.network
851851
networkId: 1114
852852
type: EvmChain
853+
- id: monad_testnet
854+
mainnet: false
855+
rpcUrl: https://rpc.monad-testnet.category.xyz/rpc/nSyzM1wlIgaALWzbh3oIg5rW65AC6yjqrslOE8wb
856+
networkId: 10143
857+
type: EvmChain

contract_manager/store/contracts/EvmEntropyContracts.yaml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -139,3 +139,6 @@
139139
- chain: monad_devnet
140140
address: "0x36825bf3Fbdf5a29E2d5148bfe7Dcf7B5639e320"
141141
type: EvmEntropyContract
142+
- chain: monad_testnet
143+
address: "0x36825bf3Fbdf5a29E2d5148bfe7Dcf7B5639e320"
144+
type: EvmEntropyContract

contract_manager/store/contracts/EvmPriceFeedContracts.yaml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -472,3 +472,6 @@
472472
- chain: monad_devnet
473473
address: "0x2880aB155794e7179c9eE2e38200202908C17B43"
474474
type: EvmPriceFeedContract
475+
- chain: monad_testnet
476+
address: "0x2880aB155794e7179c9eE2e38200202908C17B43"
477+
type: EvmPriceFeedContract

contract_manager/store/contracts/EvmWormholeContracts.yaml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -466,3 +466,6 @@
466466
- chain: monad_devnet
467467
address: "0xb27e5ca259702f209a29225d0eDdC131039C9933"
468468
type: EvmWormholeContract
469+
- chain: monad_testnet
470+
address: "0xb27e5ca259702f209a29225d0eDdC131039C9933"
471+
type: EvmWormholeContract

governance/xc_admin/packages/xc_admin_cli/src/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -959,7 +959,7 @@ multisigCommand(
959959
const updateInstruction = await lazerProgram.methods
960960
.update(trustedSigner, expiryTime)
961961
.accounts({
962-
authority: await vault.getVaultAuthorityPDA(targetCluster),
962+
topAuthority: await vault.getVaultAuthorityPDA(targetCluster),
963963
storage: SOLANA_STORAGE_ID,
964964
})
965965
.instruction();

governance/xc_admin/packages/xc_admin_common/src/chains.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -224,6 +224,7 @@ export const RECEIVER_CHAINS = {
224224
coredao_testnet_v2: 50114,
225225
bittensor_testnet: 50115,
226226
monad_devnet: 50116,
227+
monad_testnet: 50117,
227228
};
228229

229230
// If there is any overlapping value the receiver chain will replace the wormhole

0 commit comments

Comments
 (0)