Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
5,034 changes: 8 additions & 5,026 deletions tests/ported_static/amsterdam_skip_list.txt

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@

import pytest
from execution_testing import (
EOA,
Account,
Address,
Alloc,
Expand Down Expand Up @@ -58,9 +57,7 @@ def test_add_non_const(
) -> None:
"""Test_add_non_const."""
coinbase = Address(0x2ADC25665018AA1FE0E6BC666DAC8FC2697FF9BA)
sender = EOA(
key=0xB1F4CBC3A50042184425A6F9E996D0910F7BA879457CE5DAC5C71E498AD3C005
)
sender = pre.fund_eoa(amount=0xDE0B6B3A7640000)

env = Environment(
fee_recipient=coinbase,
Expand All @@ -85,7 +82,6 @@ def test_add_non_const(
nonce=0,
address=Address(0xF1722FE346FA35E045DE07E47CF6AF9BAE8ADE0A), # noqa: E501
)
pre[sender] = Account(balance=0xDE0B6B3A7640000)

expect_entries_: list[dict] = [
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@

import pytest
from execution_testing import (
EOA,
Account,
Address,
Alloc,
Expand Down Expand Up @@ -58,9 +57,7 @@ def test_addmod_non_const(
) -> None:
"""Test_addmod_non_const."""
coinbase = Address(0x2ADC25665018AA1FE0E6BC666DAC8FC2697FF9BA)
sender = EOA(
key=0xB1F4CBC3A50042184425A6F9E996D0910F7BA879457CE5DAC5C71E498AD3C005
)
sender = pre.fund_eoa(amount=0xDE0B6B3A7640000)

env = Environment(
fee_recipient=coinbase,
Expand All @@ -86,7 +83,6 @@ def test_addmod_non_const(
nonce=0,
address=Address(0x92D2FC80312ACD8C37857696D2224AF18CE6F966), # noqa: E501
)
pre[sender] = Account(balance=0xDE0B6B3A7640000)

expect_entries_: list[dict] = [
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@

import pytest
from execution_testing import (
EOA,
Account,
Address,
Alloc,
Expand Down Expand Up @@ -58,9 +57,7 @@ def test_and_non_const(
) -> None:
"""Test_and_non_const."""
coinbase = Address(0x2ADC25665018AA1FE0E6BC666DAC8FC2697FF9BA)
sender = EOA(
key=0xB1F4CBC3A50042184425A6F9E996D0910F7BA879457CE5DAC5C71E498AD3C005
)
sender = pre.fund_eoa(amount=0xDE0B6B3A7640000)

env = Environment(
fee_recipient=coinbase,
Expand All @@ -85,7 +82,6 @@ def test_and_non_const(
nonce=0,
address=Address(0x4C26357E0D164B702BCEB18690FC742EE1D36913), # noqa: E501
)
pre[sender] = Account(balance=0xDE0B6B3A7640000)

expect_entries_: list[dict] = [
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@

import pytest
from execution_testing import (
EOA,
Account,
Address,
Alloc,
Expand Down Expand Up @@ -58,9 +57,7 @@ def test_balance_non_const(
) -> None:
"""Test_balance_non_const."""
coinbase = Address(0x2ADC25665018AA1FE0E6BC666DAC8FC2697FF9BA)
sender = EOA(
key=0xB1F4CBC3A50042184425A6F9E996D0910F7BA879457CE5DAC5C71E498AD3C005
)
sender = pre.fund_eoa(amount=0xDE0B6B3A7640000)

env = Environment(
fee_recipient=coinbase,
Expand All @@ -86,7 +83,6 @@ def test_balance_non_const(
nonce=0,
address=Address(0xEE6A324B2ECE5EACDF881ABFDCC62B5361D0FB50), # noqa: E501
)
pre[sender] = Account(balance=0xDE0B6B3A7640000)

expect_entries_: list[dict] = [
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@

import pytest
from execution_testing import (
EOA,
Account,
Address,
Alloc,
Expand Down Expand Up @@ -58,9 +57,7 @@ def test_byte_non_const(
) -> None:
"""Test_byte_non_const."""
coinbase = Address(0x2ADC25665018AA1FE0E6BC666DAC8FC2697FF9BA)
sender = EOA(
key=0xB1F4CBC3A50042184425A6F9E996D0910F7BA879457CE5DAC5C71E498AD3C005
)
sender = pre.fund_eoa(amount=0xDE0B6B3A7640000)

env = Environment(
fee_recipient=coinbase,
Expand All @@ -85,7 +82,6 @@ def test_byte_non_const(
nonce=0,
address=Address(0x86D606901085BA78C64D2E0B16831E6AFD89DE2D), # noqa: E501
)
pre[sender] = Account(balance=0xDE0B6B3A7640000)

expect_entries_: list[dict] = [
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@

import pytest
from execution_testing import (
EOA,
Account,
Address,
Alloc,
Expand Down Expand Up @@ -58,9 +57,7 @@ def test_call_non_const(
) -> None:
"""Test_call_non_const."""
coinbase = Address(0x2ADC25665018AA1FE0E6BC666DAC8FC2697FF9BA)
sender = EOA(
key=0xB1F4CBC3A50042184425A6F9E996D0910F7BA879457CE5DAC5C71E498AD3C005
)
sender = pre.fund_eoa(amount=0xDE0B6B3A7640000)

env = Environment(
fee_recipient=coinbase,
Expand Down Expand Up @@ -104,7 +101,6 @@ def test_call_non_const(
nonce=0,
address=Address(0x7D7E1645AF7DF916DA558F0695E9DEDD23B1215E), # noqa: E501
)
pre[sender] = Account(balance=0xDE0B6B3A7640000)

expect_entries_: list[dict] = [
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@

import pytest
from execution_testing import (
EOA,
Account,
Address,
Alloc,
Expand Down Expand Up @@ -58,9 +57,7 @@ def test_callcode_non_const(
) -> None:
"""Test_callcode_non_const."""
coinbase = Address(0x2ADC25665018AA1FE0E6BC666DAC8FC2697FF9BA)
sender = EOA(
key=0xB1F4CBC3A50042184425A6F9E996D0910F7BA879457CE5DAC5C71E498AD3C005
)
sender = pre.fund_eoa(amount=0xDE0B6B3A7640000)

env = Environment(
fee_recipient=coinbase,
Expand Down Expand Up @@ -104,7 +101,6 @@ def test_callcode_non_const(
nonce=0,
address=Address(0x443A994E18105C3EA686D3931729A1AC3D8FDD93), # noqa: E501
)
pre[sender] = Account(balance=0xDE0B6B3A7640000)

expect_entries_: list[dict] = [
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@

import pytest
from execution_testing import (
EOA,
Account,
Address,
Alloc,
Expand Down Expand Up @@ -70,9 +69,7 @@ def test_calldatacopy_non_const(
) -> None:
"""Test_calldatacopy_non_const."""
coinbase = Address(0x2ADC25665018AA1FE0E6BC666DAC8FC2697FF9BA)
sender = EOA(
key=0xB1F4CBC3A50042184425A6F9E996D0910F7BA879457CE5DAC5C71E498AD3C005
)
sender = pre.fund_eoa(amount=0xDE0B6B3A7640000)

env = Environment(
fee_recipient=coinbase,
Expand Down Expand Up @@ -101,7 +98,6 @@ def test_calldatacopy_non_const(
nonce=0,
address=Address(0x444C2681920E1105C9104FB32249DDBB41CBA4A0), # noqa: E501
)
pre[sender] = Account(balance=0xDE0B6B3A7640000)

expect_entries_: list[dict] = [
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -83,6 +83,7 @@ def test_calldataload_non_const(
gas_limit=1000000,
)

pre[sender] = Account(balance=0xDE0B6B3A7640000)
# Source: lll
# { [[ 0 ]](CALLDATALOAD (BALANCE <contract:target:0x095e7baea6a6c7c4c2dfeb977efac326af552d87>)) } # noqa: E501
target = pre.deploy_contract( # noqa: F841
Expand All @@ -98,7 +99,6 @@ def test_calldataload_non_const(
nonce=0,
address=Address(0x148F97630D3668441F1A33A5E509F268B64F998F), # noqa: E501
)
pre[sender] = Account(balance=0xDE0B6B3A7640000)

expect_entries_: list[dict] = [
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@

import pytest
from execution_testing import (
EOA,
Account,
Address,
Alloc,
Expand Down Expand Up @@ -58,9 +57,7 @@ def test_codecopy_non_const(
) -> None:
"""Test_codecopy_non_const."""
coinbase = Address(0x2ADC25665018AA1FE0E6BC666DAC8FC2697FF9BA)
sender = EOA(
key=0xB1F4CBC3A50042184425A6F9E996D0910F7BA879457CE5DAC5C71E498AD3C005
)
sender = pre.fund_eoa(amount=0xDE0B6B3A7640000)

env = Environment(
fee_recipient=coinbase,
Expand Down Expand Up @@ -89,7 +86,6 @@ def test_codecopy_non_const(
nonce=0,
address=Address(0xEDD4D7CDACB700CA3E28F8DDBCFB6AAC31F64925), # noqa: E501
)
pre[sender] = Account(balance=0xDE0B6B3A7640000)

expect_entries_: list[dict] = [
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,14 +7,14 @@

import pytest
from execution_testing import (
EOA,
Account,
Address,
Alloc,
Bytes,
Environment,
StateTestFiller,
Transaction,
compute_create_address,
)
from execution_testing.forks import Fork
from execution_testing.specs.static_state.expect_section import (
Expand Down Expand Up @@ -59,9 +59,7 @@ def test_create_non_const(
"""Test_create_non_const."""
coinbase = Address(0x2ADC25665018AA1FE0E6BC666DAC8FC2697FF9BA)
contract_0 = Address(0x095E7BAEA6A6C7C4C2DFEB977EFAC326AF552D87)
sender = EOA(
key=0x45A915E4D060149EB4365960E6A7A45F334393093061116B197E3240065FF2D8
)
sender = pre.fund_eoa(amount=0xDE0B6B3A7640000)

env = Environment(
fee_recipient=coinbase,
Expand Down Expand Up @@ -93,15 +91,16 @@ def test_create_non_const(
nonce=0,
address=Address(0x095E7BAEA6A6C7C4C2DFEB977EFAC326AF552D87), # noqa: E501
)
pre[sender] = Account(balance=0xDE0B6B3A7640000)

expect_entries_: list[dict] = [
{
"indexes": {"data": -1, "gas": -1, "value": 0},
"network": [">=Cancun"],
"result": {
contract_0: Account(
storage={0: 0xD2571607E241ECF590ED94B12D87C94BABE36DB6},
storage={
0: compute_create_address(address=contract_0, nonce=0),
},
),
},
},
Expand All @@ -110,7 +109,9 @@ def test_create_non_const(
"network": [">=Cancun"],
"result": {
contract_0: Account(
storage={0: 0xD2571607E241ECF590ED94B12D87C94BABE36DB6},
storage={
0: compute_create_address(address=contract_0, nonce=0),
},
),
},
},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@

import pytest
from execution_testing import (
EOA,
Account,
Address,
Alloc,
Expand Down Expand Up @@ -58,9 +57,7 @@ def test_delegatecall_non_const(
) -> None:
"""Test_delegatecall_non_const."""
coinbase = Address(0x2ADC25665018AA1FE0E6BC666DAC8FC2697FF9BA)
sender = EOA(
key=0xB1F4CBC3A50042184425A6F9E996D0910F7BA879457CE5DAC5C71E498AD3C005
)
sender = pre.fund_eoa(amount=0xDE0B6B3A7640000)

env = Environment(
fee_recipient=coinbase,
Expand Down Expand Up @@ -101,7 +98,6 @@ def test_delegatecall_non_const(
nonce=0,
address=Address(0x365AAE42316E918DA716D904FE31EEA4134112C4), # noqa: E501
)
pre[sender] = Account(balance=0xDE0B6B3A7640000)

expect_entries_: list[dict] = [
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@

import pytest
from execution_testing import (
EOA,
Account,
Address,
Alloc,
Expand Down Expand Up @@ -58,9 +57,7 @@ def test_div_non_const(
) -> None:
"""Test_div_non_const."""
coinbase = Address(0x2ADC25665018AA1FE0E6BC666DAC8FC2697FF9BA)
sender = EOA(
key=0xB1F4CBC3A50042184425A6F9E996D0910F7BA879457CE5DAC5C71E498AD3C005
)
sender = pre.fund_eoa(amount=0xDE0B6B3A7640000)

env = Environment(
fee_recipient=coinbase,
Expand All @@ -85,7 +82,6 @@ def test_div_non_const(
nonce=0,
address=Address(0x61FD7E3E20CEEA9426C3021F589E9EB7754D486F), # noqa: E501
)
pre[sender] = Account(balance=0xDE0B6B3A7640000)

expect_entries_: list[dict] = [
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@

import pytest
from execution_testing import (
EOA,
Account,
Address,
Alloc,
Expand Down Expand Up @@ -58,9 +57,7 @@ def test_eq_non_const(
) -> None:
"""Test_eq_non_const."""
coinbase = Address(0x2ADC25665018AA1FE0E6BC666DAC8FC2697FF9BA)
sender = EOA(
key=0xB1F4CBC3A50042184425A6F9E996D0910F7BA879457CE5DAC5C71E498AD3C005
)
sender = pre.fund_eoa(amount=0xDE0B6B3A7640000)

env = Environment(
fee_recipient=coinbase,
Expand All @@ -85,7 +82,6 @@ def test_eq_non_const(
nonce=0,
address=Address(0x197F978175CEA58C57CFAB837CF028D4C8D12EF3), # noqa: E501
)
pre[sender] = Account(balance=0xDE0B6B3A7640000)

expect_entries_: list[dict] = [
{
Expand Down
Loading
Loading