Skip to content

Commit

Permalink
Typo
Browse files Browse the repository at this point in the history
  • Loading branch information
gzanitti committed Apr 20, 2024
1 parent 408ebb8 commit d30ae2c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions doc/src/ch02-lang/ch04-macros/ch01-builtins.md
Original file line number Diff line number Diff line change
Expand Up @@ -163,14 +163,14 @@ 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);
# ingest.ingest(file!(), src).unwrap();
# 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

0 comments on commit d30ae2c

Please sign in to comment.