Skip to content

Commit

Permalink
fix: fix typos
Browse files Browse the repository at this point in the history
  • Loading branch information
rex4539 committed Jan 19, 2025
1 parent 242f61f commit c7a3388
Show file tree
Hide file tree
Showing 8 changed files with 14 additions and 14 deletions.
2 changes: 1 addition & 1 deletion crates/bytecode/src/opcode.rs
Original file line number Diff line number Diff line change
Expand Up @@ -784,7 +784,7 @@ mod tests {
assert_eq!(
opcode.map(|opcode| opcode.terminating).unwrap_or_default(),
opcodes[i],
"Opcode {:?} terminating chack failed.",
"Opcode {:?} terminating check failed.",
opcode
);
}
Expand Down
2 changes: 1 addition & 1 deletion crates/interpreter/src/interpreter/stack.rs
Original file line number Diff line number Diff line change
Expand Up @@ -269,7 +269,7 @@ impl Stack {
unsafe {
// Note: `ptr::swap_nonoverlapping` is more efficient than `slice::swap` or `ptr::swap`
// because it operates under the assumption that the pointers do not overlap,
// eliminating an intemediate copy,
// eliminating an intermediate copy,
// which is a condition we know to be true in this context.
let top = self.data.as_mut_ptr().add(len - 1);
core::ptr::swap_nonoverlapping(top.sub(n), top.sub(n_m_index), 1);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
"hash": "0x3ca8ef6ece25610ec5d866c4af7be1856e6d7a8cbd806aee25b75a1d40c9e275",
"comment": "`execution-spec-tests` generated test",
"filling-transition-tool": "Hyperledger Besu evm 24.10-develop-e720d8f",
"description": "Test function documentation:\n\n Tests jumpf into fuction with incorrect output sizes",
"description": "Test function documentation:\n\n Tests jumpf into function with incorrect output sizes",
"url": "https://github.com/ethereum/execution-spec-tests/blob/[email protected]/tests/osaka/eip7692_eof_v1/eip6206_jumpf/test_jumpf_stack.py#L139",
"reference-spec": "https://github.com/ethereum/EIPs/blob/master/EIPS/eip-6206.md",
"reference-spec-version": "2f365ea0cd58faa6e26013ea77ce6d538175f7d0"
Expand All @@ -36,7 +36,7 @@
"hash": "0x74425879ecc4c41c0d41376ff4ac43bd796887804a11965de78cf20898669d2c",
"comment": "`execution-spec-tests` generated test",
"filling-transition-tool": "Hyperledger Besu evm 24.10-develop-e720d8f",
"description": "Test function documentation:\n\n Tests jumpf into fuction with incorrect output sizes",
"description": "Test function documentation:\n\n Tests jumpf into function with incorrect output sizes",
"url": "https://github.com/ethereum/execution-spec-tests/blob/[email protected]/tests/osaka/eip7692_eof_v1/eip6206_jumpf/test_jumpf_stack.py#L139",
"reference-spec": "https://github.com/ethereum/EIPs/blob/master/EIPS/eip-6206.md",
"reference-spec-version": "2f365ea0cd58faa6e26013ea77ce6d538175f7d0"
Expand All @@ -58,7 +58,7 @@
"hash": "0x8f4cee383ef3b3c1ff665ee9522ddcf2d5200d395bf1ae021fe04f4d29a2527e",
"comment": "`execution-spec-tests` generated test",
"filling-transition-tool": "Hyperledger Besu evm 24.10-develop-e720d8f",
"description": "Test function documentation:\n\n Tests jumpf into fuction with incorrect output sizes",
"description": "Test function documentation:\n\n Tests jumpf into function with incorrect output sizes",
"url": "https://github.com/ethereum/execution-spec-tests/blob/[email protected]/tests/osaka/eip7692_eof_v1/eip6206_jumpf/test_jumpf_stack.py#L139",
"reference-spec": "https://github.com/ethereum/EIPs/blob/master/EIPS/eip-6206.md",
"reference-spec-version": "2f365ea0cd58faa6e26013ea77ce6d538175f7d0"
Expand All @@ -80,7 +80,7 @@
"hash": "0x9d2ac807031a7c2be383ff25fd37db470b8278d54405c666d1b2b35e90ca8eb3",
"comment": "`execution-spec-tests` generated test",
"filling-transition-tool": "Hyperledger Besu evm 24.10-develop-e720d8f",
"description": "Test function documentation:\n\n Tests jumpf into fuction with incorrect output sizes",
"description": "Test function documentation:\n\n Tests jumpf into function with incorrect output sizes",
"url": "https://github.com/ethereum/execution-spec-tests/blob/[email protected]/tests/osaka/eip7692_eof_v1/eip6206_jumpf/test_jumpf_stack.py#L139",
"reference-spec": "https://github.com/ethereum/EIPs/blob/master/EIPS/eip-6206.md",
"reference-spec-version": "2f365ea0cd58faa6e26013ea77ce6d538175f7d0"
Expand All @@ -101,7 +101,7 @@
"hash": "0x102adc6a831351dcf1409f8e471ba0aebde8ccd3650d0c24937fc48fcee9e0e8",
"comment": "`execution-spec-tests` generated test",
"filling-transition-tool": "Hyperledger Besu evm 24.10-develop-e720d8f",
"description": "Test function documentation:\n\n Tests jumpf into fuction with incorrect output sizes",
"description": "Test function documentation:\n\n Tests jumpf into function with incorrect output sizes",
"url": "https://github.com/ethereum/execution-spec-tests/blob/[email protected]/tests/osaka/eip7692_eof_v1/eip6206_jumpf/test_jumpf_stack.py#L139",
"reference-spec": "https://github.com/ethereum/EIPs/blob/master/EIPS/eip-6206.md",
"reference-spec-version": "2f365ea0cd58faa6e26013ea77ce6d538175f7d0"
Expand All @@ -122,7 +122,7 @@
"hash": "0xe9ad75fd8f205c2919192ab12dfd3844a35d1fc5f7fedc4ab6004158d43c5e6b",
"comment": "`execution-spec-tests` generated test",
"filling-transition-tool": "Hyperledger Besu evm 24.10-develop-e720d8f",
"description": "Test function documentation:\n\n Tests jumpf into fuction with incorrect output sizes",
"description": "Test function documentation:\n\n Tests jumpf into function with incorrect output sizes",
"url": "https://github.com/ethereum/execution-spec-tests/blob/[email protected]/tests/osaka/eip7692_eof_v1/eip6206_jumpf/test_jumpf_stack.py#L139",
"reference-spec": "https://github.com/ethereum/EIPs/blob/master/EIPS/eip-6206.md",
"reference-spec-version": "2f365ea0cd58faa6e26013ea77ce6d538175f7d0"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@
"hash": "0xa0d2c243c557801639839a02147a45bebdfb7367d7dfce33bd852ec34e5beb4f",
"comment": "`execution-spec-tests` generated test",
"filling-transition-tool": "Hyperledger Besu evm 24.10-develop-e720d8f",
"description": "Test function documentation:\n\n Verifies an EOFCREATE occuring within initcode creates that contract",
"description": "Test function documentation:\n\n Verifies an EOFCREATE occurring within initcode creates that contract",
"url": "https://github.com/ethereum/execution-spec-tests/blob/[email protected]/tests/osaka/eip7692_eof_v1/eip7620_eof_create/test_eofcreate.py#L281",
"reference-spec": "https://github.com/ethereum/EIPs/blob/master/EIPS/eip-7620.md",
"reference-spec-version": "52ddbcdddcf72dd72427c319f2beddeb468e1737"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@
"hash": "0xe428b9eae7e9fd9392ea255d18e96c324969b68d94aa852fbb5cf49bfce96244",
"comment": "`execution-spec-tests` generated test",
"filling-transition-tool": "Hyperledger Besu evm 24.10-develop-e720d8f",
"description": "Test function documentation:\n\n Verifies an EOFCREATE occuring in an initcode is rolled back when the initcode reverts",
"description": "Test function documentation:\n\n Verifies an EOFCREATE occurring in an initcode is rolled back when the initcode reverts",
"url": "https://github.com/ethereum/execution-spec-tests/blob/[email protected]/tests/osaka/eip7692_eof_v1/eip7620_eof_create/test_eofcreate.py#L337",
"reference-spec": "https://github.com/ethereum/EIPs/blob/master/EIPS/eip-7620.md",
"reference-spec-version": "52ddbcdddcf72dd72427c319f2beddeb468e1737"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@
"hash": "0x07b2d16a708a10a795b8328f4f5d318fda9948873e6304b39bd7d56eb918bd58",
"comment": "`execution-spec-tests` generated test",
"filling-transition-tool": "Hyperledger Besu evm 24.10-develop-e720d8f",
"description": "Test function documentation:\n\n Excercises an EOFCREATE when the memory for auxdata has not been expanded but is requested",
"description": "Test function documentation:\n\n Exercises an EOFCREATE when the memory for auxdata has not been expanded but is requested",
"url": "https://github.com/ethereum/execution-spec-tests/blob/[email protected]/tests/osaka/eip7692_eof_v1/eip7620_eof_create/test_eofcreate_failures.py#L459",
"reference-spec": "https://github.com/ethereum/EIPs/blob/master/EIPS/eip-7620.md",
"reference-spec-version": "52ddbcdddcf72dd72427c319f2beddeb468e1737"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -61,10 +61,10 @@
"hash": "0x331fed19cc0d3879db8673c7ff4994b28273c9765605932f39d4cd6696ba06c2",
"comment": "`execution-spec-tests` generated test",
"filling-transition-tool": "Hyperledger Besu evm 24.10-develop-e720d8f",
"description": "Test function documentation:\n\n Excercises an EOFCREATE when there is not enough gas for the initcode charge",
"description": "Test function documentation:\n\n Exercises an EOFCREATE when there is not enough gas for the initcode charge",
"url": "https://github.com/ethereum/execution-spec-tests/blob/[email protected]/tests/osaka/eip7692_eof_v1/eip7620_eof_create/test_eofcreate_failures.py#L397",
"reference-spec": "https://github.com/ethereum/EIPs/blob/master/EIPS/eip-7620.md",
"reference-spec-version": "52ddbcdddcf72dd72427c319f2beddeb468e1737"
}
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@
"hash": "0xa81e958ef5b9cf79e45984f749c090842d4b985e6e68ba5adda87a59e28b1030",
"comment": "`execution-spec-tests` generated test",
"filling-transition-tool": "Hyperledger Besu evm 24.10-develop-e720d8f",
"description": "Test function documentation:\n\n Excercises an EOFCREATE when there is not enough gas for the initcode charge",
"description": "Test function documentation:\n\n Exercises an EOFCREATE when there is not enough gas for the initcode charge",
"url": "https://github.com/ethereum/execution-spec-tests/blob/[email protected]/tests/osaka/eip7692_eof_v1/eip7620_eof_create/test_eofcreate_failures.py#L519",
"reference-spec": "https://github.com/ethereum/EIPs/blob/master/EIPS/eip-7620.md",
"reference-spec-version": "52ddbcdddcf72dd72427c319f2beddeb468e1737"
Expand Down

0 comments on commit c7a3388

Please sign in to comment.