From d30ae2cb82ff3ef96f53e25108da00e143087255 Mon Sep 17 00:00:00 2001 From: Gaston Zanitti Date: Sat, 20 Apr 2024 01:37:59 -0300 Subject: [PATCH] Typo --- doc/src/ch02-lang/ch04-macros/ch01-builtins.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/doc/src/ch02-lang/ch04-macros/ch01-builtins.md b/doc/src/ch02-lang/ch04-macros/ch01-builtins.md index 2b7c029..fa5d2dd 100644 --- a/doc/src/ch02-lang/ch04-macros/ch01-builtins.md +++ b/doc/src/ch02-lang/ch04-macros/ch01-builtins.md @@ -163,7 +163,7 @@ For example: # let src = r#" %hardfork(">london,<=cancun") -push 0x08 +%push(0x08) # "#; # let mut output = Vec::new(); # let mut ingest = etk_asm::ingest::Ingest::new(&mut output, etk_ops::HardFork::Cancun); @@ -171,6 +171,6 @@ push 0x08 # assert_eq!(output, &[0x60, 0x08]); ``` -can only be compiled by specifying a hardfork using the `--hardfork` flag (with the latest hardfork available as the default option) strictly after `London` and equal or older than `Cancun`. Non-closed ranges can also be used, as well as specific versions (e.g. `%hardfork(">london")`, `%hardfork("cancun")` and `%hardfork(">=cancun,<=cancun")` are all valids.`). +can only be compiled by specifying a hardfork using the `--hardfork` flag (with the latest hardfork implemented as the default option) strictly after `London` and equal or older than `Cancun`. Non-closed ranges can also be used, as well as specific versions (e.g. `%hardfork(">london")`, `%hardfork("cancun")` and `%hardfork(">=cancun,<=cancun")` are all valids.`). [abi]: https://docs.soliditylang.org/en/latest/abi-spec.html#function-selector