Skip to content

Commit 1e5e727

Browse files
authored
Move & rename MONAD_NEXT to MONAD_NINE (#13)
--------- Co-authored-by: greptile-apps[bot]
1 parent 78ab1b2 commit 1e5e727

60 files changed

Lines changed: 71 additions & 71 deletions

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.github/configs/feature.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,11 +12,11 @@ monad:
1212
# --suppress-no-test-exit-code works around a problem where multi-phase fill
1313
# (triggered by tarball output) fails to proceed on no tests processed
1414
# in 1st phase (exit code 5)
15-
fill-params: --suppress-no-test-exit-code -m blockchain_test --from=MONAD_EIGHT --until=MONAD_NEXT --chain-id=143 -k "not eip4844 and not eip7002 and not eip7251 and not eip7685 and not eip6110 and not eip7594 and not eip7918 and not eip7610 and not eip7934 and not invalid_header"
15+
fill-params: --suppress-no-test-exit-code -m blockchain_test --from=MONAD_EIGHT --until=MONAD_NINE --chain-id=143 -k "not eip4844 and not eip7002 and not eip7251 and not eip7685 and not eip6110 and not eip7594 and not eip7918 and not eip7610 and not eip7934 and not invalid_header"
1616

1717
mip3:
1818
evm-type: develop
1919
# --suppress-no-test-exit-code works around a problem where multi-phase fill
2020
# (triggered by tarball output) fails to proceed on no tests processed
2121
# in 1st phase (exit code 5)
22-
fill-params: --suppress-no-test-exit-code -m blockchain_test --from=MONAD_EIGHT --until=MONAD_NEXT --chain-id=143 -k "not eip4844 and not eip7002 and not eip7251 and not eip7685 and not eip6110 and not eip7594 and not eip7918 and not eip7610 and not eip7934 and not invalid_header"
22+
fill-params: --suppress-no-test-exit-code -m blockchain_test --from=MONAD_EIGHT --until=MONAD_NINE --chain-id=143 -k "not eip4844 and not eip7002 and not eip7251 and not eip7685 and not eip6110 and not eip7594 and not eip7918 and not eip7610 and not eip7934 and not invalid_header"

README.md

Lines changed: 2 additions & 2 deletions

packages/testing/src/execution_testing/forks/__init__.py

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
BPO4,
99
BPO5,
1010
MONAD_EIGHT,
11-
MONAD_NEXT,
11+
MONAD_NINE,
1212
Amsterdam,
1313
ArrowGlacier,
1414
Berlin,
@@ -36,7 +36,7 @@
3636
BPO2ToBPO3AtTime15k,
3737
BPO3ToBPO4AtTime15k,
3838
CancunToPragueAtTime15k,
39-
MONAD_EIGHTToMONAD_NEXTAtTime15k,
39+
MONAD_EIGHTToMONAD_NINEAtTime15k,
4040
OsakaToBPO1AtTime15k,
4141
ParisToShanghaiAtTime15k,
4242
PragueToMONAD_EIGHTAtTime15k,
@@ -118,10 +118,10 @@
118118
"PragueToOsakaAtTime15k",
119119
"Osaka",
120120
"OsakaToBPO1AtTime15k",
121-
"MONAD_EIGHT",
122121
"PragueToMONAD_EIGHTAtTime15k",
123-
"MONAD_NEXT",
124-
"MONAD_EIGHTToMONAD_NEXTAtTime15k",
122+
"MONAD_EIGHT",
123+
"MONAD_EIGHTToMONAD_NINEAtTime15k",
124+
"MONAD_NINE",
125125
"BPO1",
126126
"BPO1ToBPO2AtTime15k",
127127
"BPO2",

packages/testing/src/execution_testing/forks/forks/forks.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3352,8 +3352,8 @@ def transaction_gas_limit_cap(
33523352
return 30_000_000
33533353

33543354

3355-
class MONAD_NEXT(MONAD_EIGHT, Osaka, solc_name="cancun"): # noqa: N801
3356-
"""MONAD_NEXT fork."""
3355+
class MONAD_NINE(MONAD_EIGHT, Osaka, solc_name="cancun"): # noqa: N801
3356+
"""MONAD_NINE fork."""
33573357

33583358
@classmethod
33593359
def valid_opcodes(

packages/testing/src/execution_testing/forks/forks/transition.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
BPO3,
88
BPO4,
99
MONAD_EIGHT,
10-
MONAD_NEXT,
10+
MONAD_NINE,
1111
Amsterdam,
1212
Berlin,
1313
Cancun,
@@ -62,9 +62,9 @@ class PragueToMONAD_EIGHTAtTime15k(Prague): # noqa: N801
6262
pass
6363

6464

65-
@transition_fork(to_fork=MONAD_NEXT, at_timestamp=15_000)
66-
class MONAD_EIGHTToMONAD_NEXTAtTime15k(MONAD_EIGHT): # noqa: N801
67-
"""Prague to MONAD_NEXT transition at Timestamp 15k."""
65+
@transition_fork(to_fork=MONAD_NINE, at_timestamp=15_000)
66+
class MONAD_EIGHTToMONAD_NINEAtTime15k(MONAD_EIGHT): # noqa: N801
67+
"""MONAD_EIGHT to MONAD_NINE transition at Timestamp 15k."""
6868

6969
pass
7070

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
"""
2-
MONAD_NEXT fork introduces Monad specific changes to the Ethereum protocol.
2+
MONAD_NINE fork introduces Monad specific changes to the Ethereum protocol.
33
"""
44

55
from ethereum.fork_criteria import ByTimestamp, ForkCriteria
Lines changed: 18 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ class Withdrawal:
3838
chain) to the execution layer, as validated by the consensus layer. Each
3939
withdrawal is listed in the block's list of withdrawals. See [`block`].
4040
41-
[`block`]: ref:ethereum.forks.monad_next.blocks.Block.withdrawals
41+
[`block`]: ref:ethereum.forks.monad_nine.blocks.Block.withdrawals
4242
"""
4343

4444
index: U64
@@ -87,7 +87,7 @@ class Header:
8787
8888
[`keccak256`]: ref:ethereum.crypto.hash.keccak256
8989
[RLP]: https://ethereum.github.io/ethereum-rlp/src/ethereum_rlp/rlp.py.html
90-
[`EMPTY_OMMER_HASH`]: ref:ethereum.forks.monad_next.fork.EMPTY_OMMER_HASH
90+
[`EMPTY_OMMER_HASH`]: ref:ethereum.forks.monad_nine.fork.EMPTY_OMMER_HASH
9191
"""
9292

9393
coinbase: Address
@@ -110,8 +110,8 @@ class Header:
110110
of the Merkle-Patricia [Trie] representing the Ethereum world state.
111111
112112
[`keccak256`]: ref:ethereum.crypto.hash.keccak256
113-
[`state_root()`]: ref:ethereum.forks.monad_next.state.state_root
114-
[Trie]: ref:ethereum.forks.monad_next.trie.Trie
113+
[`state_root()`]: ref:ethereum.forks.monad_nine.state.state_root
114+
[Trie]: ref:ethereum.forks.monad_nine.trie.Trie
115115
"""
116116

117117
transactions_root: Root
@@ -122,8 +122,8 @@ class Header:
122122
transactions as the parameter.
123123
124124
[`keccak256`]: ref:ethereum.crypto.hash.keccak256
125-
[`root()`]: ref:ethereum.forks.monad_next.trie.root
126-
[Trie]: ref:ethereum.forks.monad_next.trie.Trie
125+
[`root()`]: ref:ethereum.forks.monad_nine.trie.root
126+
[Trie]: ref:ethereum.forks.monad_nine.trie.Trie
127127
"""
128128

129129
receipt_root: Root
@@ -133,16 +133,16 @@ class Header:
133133
function over the Merkle-Patricia [trie] constructed from the receipts.
134134
135135
[`keccak256`]: ref:ethereum.crypto.hash.keccak256
136-
[`root()`]: ref:ethereum.forks.monad_next.trie.root
137-
[Trie]: ref:ethereum.forks.monad_next.trie.Trie
136+
[`root()`]: ref:ethereum.forks.monad_nine.trie.root
137+
[Trie]: ref:ethereum.forks.monad_nine.trie.Trie
138138
"""
139139

140140
bloom: Bloom
141141
"""
142142
Bloom filter for logs generated by transactions in this block.
143143
Constructed from all logs in the block using the [logs bloom] mechanism.
144144
145-
[logs bloom]: ref:ethereum.forks.monad_next.bloom.logs_bloom
145+
[logs bloom]: ref:ethereum.forks.monad_nine.bloom.logs_bloom
146146
"""
147147

148148
difficulty: Uint
@@ -238,7 +238,7 @@ class Header:
238238
[EIP-7685]. See [`compute_requests_hash`][crh] for more details.
239239
240240
[EIP-7685]: https://eips.ethereum.org/EIPS/eip-7685
241-
[crh]: ref:ethereum.forks.monad_next.requests.compute_requests_hash
241+
[crh]: ref:ethereum.forks.monad_nine.requests.compute_requests_hash
242242
[SHA2-256]: https://en.wikipedia.org/wiki/SHA-2
243243
"""
244244

@@ -265,16 +265,16 @@ class Block:
265265
Withdrawals represent ETH transfers from validators to their recipients,
266266
introduced by the consensus layer. Ommers remain deprecated and empty.
267267
268-
[`header`]: ref:ethereum.forks.monad_next.blocks.Header
269-
[withdrawals]: ref:ethereum.forks.monad_next.blocks.Withdrawal
268+
[`header`]: ref:ethereum.forks.monad_nine.blocks.Header
269+
[withdrawals]: ref:ethereum.forks.monad_nine.blocks.Withdrawal
270270
"""
271271

272272
header: Header
273273
"""
274274
The block header containing metadata and cryptographic commitments. Refer
275275
to [headers] for more details on the fields included in the header.
276276
277-
[headers]: ref:ethereum.forks.monad_next.blocks.Header
277+
[headers]: ref:ethereum.forks.monad_nine.blocks.Header
278278
"""
279279

280280
transactions: Tuple[Bytes | LegacyTransaction, ...]
@@ -305,11 +305,11 @@ class Log:
305305
[`LOG1`], [`LOG2`], [`LOG3`] and [`LOG4`]), which can be efficiently
306306
searched using the bloom filter in the block header.
307307
308-
[`LOG0`]: ref:ethereum.forks.monad_next.vm.instructions.log.log0
309-
[`LOG1`]: ref:ethereum.forks.monad_next.vm.instructions.log.log1
310-
[`LOG2`]: ref:ethereum.forks.monad_next.vm.instructions.log.log2
311-
[`LOG3`]: ref:ethereum.forks.monad_next.vm.instructions.log.log3
312-
[`LOG4`]: ref:ethereum.forks.monad_next.vm.instructions.log.log4
308+
[`LOG0`]: ref:ethereum.forks.monad_nine.vm.instructions.log.log0
309+
[`LOG1`]: ref:ethereum.forks.monad_nine.vm.instructions.log.log1
310+
[`LOG2`]: ref:ethereum.forks.monad_nine.vm.instructions.log.log2
311+
[`LOG3`]: ref:ethereum.forks.monad_nine.vm.instructions.log.log3
312+
[`LOG4`]: ref:ethereum.forks.monad_nine.vm.instructions.log.log4
313313
"""
314314

315315
address: Address
File renamed without changes.

0 commit comments

Comments
 (0)