Skip to content

Commit

Permalink
Merge pull request #562 from eqlabs/update_testnet_core
Browse files Browse the repository at this point in the history
feat: update testnet core contract impl
  • Loading branch information
Mirko-von-Leipzig authored Sep 5, 2022
2 parents bd76952 + 5035ad0 commit 56adca0
Show file tree
Hide file tree
Showing 2 changed files with 21 additions and 2 deletions.
21 changes: 20 additions & 1 deletion crates/pathfinder/resources/contracts/core_impl.json
Original file line number Diff line number Diff line change
Expand Up @@ -124,6 +124,12 @@
"internalType": "uint256",
"name": "nonce",
"type": "uint256"
},
{
"indexed": false,
"internalType": "uint256",
"name": "fee",
"type": "uint256"
}
],
"name": "LogMessageToL2",
Expand Down Expand Up @@ -306,6 +312,19 @@
"name": "MessageToL2CancellationStarted",
"type": "event"
},
{
"inputs": [],
"name": "MAX_L1_MSG_FEE",
"outputs": [
{
"internalType": "uint256",
"name": "",
"type": "uint256"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [
{
Expand Down Expand Up @@ -595,7 +614,7 @@
"type": "uint256"
}
],
"stateMutability": "nonpayable",
"stateMutability": "payable",
"type": "function"
},
{
Expand Down
2 changes: 1 addition & 1 deletion crates/pathfinder/src/ethereum/contract.rs
Original file line number Diff line number Diff line change
Expand Up @@ -158,7 +158,7 @@ mod tests {
// update the address and more importantly, the ABI.

// The current address of Starknet's core contract implementation.
const CORE_IMPL_ADDR: &str = "0x60C5fA1763cC9CB9c7c25458C6cDDFbc8F125256";
const CORE_IMPL_ADDR: &str = "0x70c8a579ad08339cca19d77d8646f4b6f0fd098a";
let expect_addr = H160::from_str(CORE_IMPL_ADDR).unwrap();

// The proxy's ABI.
Expand Down

0 comments on commit 56adca0

Please sign in to comment.