Repository navigation
refactor(tests): drop pre_alloc_mutable from stRandom tests #3999
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: forks/bogota
Are you sure you want to change the base?
Changes from all commits
bfb3a7a
39ae26a
bc5f057
6cb2b9e
15bf1b0
ea2c20d
7e4c8c3
c51bf91
0884da3
ef7afe0
e55a8ae
5997d97
1012cc2
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -25,19 +25,15 @@ | |
| ["state_tests/stRandom/randomStatetest144Filler.json"], | ||
| ) | ||
| @pytest.mark.valid_from("Cancun") | ||
| @pytest.mark.pre_alloc_mutable | ||
| @pytest.mark.execute(pytest.mark.skip(reason="needs a high-nonce contract")) | ||
|
Member
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Same as here: stRandom 347 deploys Suggested diff (fills on Cancun to Bogota: 5 passed)diff --git a/tests/ported_static/stRandom/test_random_statetest347.py b/tests/ported_static/stRandom/test_random_statetest347.py
index 295db1c944..0e16c11d5a 100644
--- a/tests/ported_static/stRandom/test_random_statetest347.py
+++ b/tests/ported_static/stRandom/test_random_statetest347.py
@@ -25,6 +25,7 @@ REFERENCE_SPEC_VERSION = "N/A"
["state_tests/stRandom/randomStatetest347Filler.json"],
)
@pytest.mark.valid_from("Cancun")
+@pytest.mark.execute(pytest.mark.skip(reason="needs a high-nonce contract"))
def test_random_statetest347(
state_test: StateTestFiller,
pre: Alloc, |
||
| def test_random_statetest144( | ||
| state_test: StateTestFiller, | ||
| pre: Alloc, | ||
| ) -> None: | ||
| """Test_random_statetest144.""" | ||
| coinbase = Address(0xB0085A57673C8F7D78FB870418F622E42FD686E4) | ||
| addr = Address(0x19BCDBCD094C63DF253C825B4B8E6DFFC45C21A4) | ||
| sender = pre.fund_eoa(amount=0x71E90493E6EB4C59) | ||
|
|
||
| pre[addr] = Account(balance=0x2401AC5958344E85, nonce=53) | ||
| # Source: raw | ||
| # 0x621da82575e942e4fd977abdb407069cf700116e02b4f9b25d866b6d13163fff2b8ef03cf8ab5d662afb7bb5c9e68462741090bc0976c9705b40411efe39e80c20b572c5e3d75f788f9be2f0981672b8de37f9e2d1515046cb77cc3ee74646fb096eadce98908499b6fd54725f3c6a725968761ba50494d1ecaf1e787db9a052952427c4f271c28d3e25728b2b76439a3166cd0ed37f30ec2421ed38ebd3b00b89ba9208391dc274e4eefa69161a37dfff7111756dd7971065f05aa9de4867609e7d847a290d0eeb08cde2ff294ae11dd16f8a3e32494d943fa0622cc04cd7476b6d2a1008e4ad1e2c33e2928e707c797f2a1a586bbf78658189bf58172ff77130be2ffc9bbf7f171939be260b30eb65b46a6cf107be1c9ed5c92c99d69fe0559389600e6013601c60096016601260016001600c6017016d200351654b9773409608aaa7db1f67b518d025727bdc6e0463b2bc334b658536d84dadc47a2288da62c36b9a35bf8934e3781a4c44e91637ce5c6b2f916d76706529d728b6f5ee076013601e601960086005601c6013601d96423568ce21a850c04a77ceb9 # noqa: E501 | ||
| target = pre.deploy_contract( | ||
| code=Op.PUSH3[0x1DA825] | ||
| + Op.PUSH22[0xE942E4FD977ABDB407069CF700116E02B4F9B25D866B] | ||
|
|
@@ -108,7 +104,6 @@ def test_random_statetest144( | |
|
|
||
| post = { | ||
| target: Account(storage={}, nonce=89), | ||
| addr: Account(storage={}, code=b"", nonce=53), | ||
| sender: Account(storage={}, code=b"", nonce=1), | ||
| coinbase: Account(storage={}, code=b"", nonce=0), | ||
| } | ||
|
|
||
Uh oh!
There was an error while loading. Please reload this page.