Files
kyzooghost 4a7b76c90d [Feat] - GASLIMIT opcode test (#412)
* gas-limit test written

* successful pass pnpm:e2e:local for gas limit

* test

* hi

* rename gaslimittest -> opcodetest

* added finalization test for setGasLimit

* fixes to gas-limit.spec.ts

* use erc-7201 for storage in opcodetestcontract

* updated gas-limit e2e test to check >= lineaRollupV6.currentL2BlockNumber

* wrote case for increase gas limit

* working local test of block increase to 35M

* refactor pollForContractMethodReturnValueExceedTarget

---------

Signed-off-by: kyzooghost <73516204+kyzooghost@users.noreply.github.com>
2024-12-20 21:46:15 +11:00

31 lines
1.5 KiB
JSON

{
"contractName": "OpcodeTestContract",
"sourceName": "contracts/test-contracts/OpcodeTestContract.sol",
"abi": [
{
"inputs": [],
"name": "getGasLimit",
"outputs": [
{
"internalType": "uint256",
"name": "",
"type": "uint256"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [],
"name": "setGasLimit",
"outputs": [],
"stateMutability": "nonpayable",
"type": "function"
}
],
"bytecode": "0x608060405234801561001057600080fd5b5060ca8061001f6000396000f3fe6080604052348015600f57600080fd5b506004361060325760003560e01c80631a93d1c31460375780634cb0646714606b575b600080fd5b7fb69ece048aea1886497badfc9449787df15ad9606ca8687d17308088ee5551005460405190815260200160405180910390f35b6092457fb69ece048aea1886497badfc9449787df15ad9606ca8687d17308088ee55510055565b00fea2646970667358221220f82230dc04c092c9aee93769b5ed18533fe22bec8252d3620ff4ff225c7fa92464736f6c63430008130033",
"deployedBytecode": "0x6080604052348015600f57600080fd5b506004361060325760003560e01c80631a93d1c31460375780634cb0646714606b575b600080fd5b7fb69ece048aea1886497badfc9449787df15ad9606ca8687d17308088ee5551005460405190815260200160405180910390f35b6092457fb69ece048aea1886497badfc9449787df15ad9606ca8687d17308088ee55510055565b00fea2646970667358221220f82230dc04c092c9aee93769b5ed18533fe22bec8252d3620ff4ff225c7fa92464736f6c63430008130033",
"linkReferences": {},
"deployedLinkReferences": {}
}