Commit graph

17 commits

Author SHA1 Message Date
yanziseeker
631efd7e81
docs(docs/dev): correct cheatcodes.rs's md link path (#6902) 2024-01-26 10:59:37 +01:00
DaniPopes
67ab870447
docs: remove forge-std PR requirement for new cheatcodes (#6662) 2023-12-24 22:24:43 +01:00
evalir
53b15e6cee
chore: fix typos (#6597) 2023-12-13 19:32:28 -04:00
Matthias Seitz
a7fdd78d4a
chore: typo readme (#6481) 2023-12-01 12:43:33 +01:00
0xbasar
ab57053974
Update cheatcodes.md (#6477)
In the sentence "This macro performs extra checks on functions and structs at compile time to make sure they are documented and have named parameters, and generates a macro which is later used to implement the match { ... } function that is be used to dispatch the cheatcode implementations after a call is decoded.", there's a grammatical error. It should be "that is to be used" instead of "that is be used".
2023-12-01 12:43:17 +01:00
DaniPopes
5692c5cdc0
chore(cheatcodes): rename defs to spec (#6325)
* chore(cheatcodes): rename defs to spec

* avoid links in spec
2023-11-16 01:52:48 +01:00
DaniPopes
265059bcfd
refactor: split cheatcode definitions into a separate crate (#6202)
* refactor: split foundry-cheatcodes defs into a separate crate

* docs: update links

* fix: separate dispatch impl from defs

* docs: update again

* doc

* stuff
2023-11-03 12:44:07 +01:00
DaniPopes
799b82071c
feat: use foundry-cheatcodes implementations (#6131)
* feat: use `foundry-cheatcodes` in `foundry-evm`

* fix: deps

* docs: retire `foundry-abi`

* chore: refactor profiles

* docs: obsolete -> deprecated

* fix: fs tests

* fix: repro 5808

* fix: implement `rpc` and `eth_getLogs`

* fix: int test

* chore: reorder EthGetLogs struct fields

* chore: update JSON

* docs: update dev docs and cheatcodes README

* chore: rename magic bytes constants

* fix: Error ABI encoding

* fix: ABI-encode Error as `CheatCodeError(string)`

* chore: remove bad re-export

* test: update script panic message

* fix: broadcast origin and caller

* test: update some test messages

* test: add more debug

* test: don't run commands twice...

* chore: clippy

* fix: tracing-subscriber features

* fix: re-disable color

* fixes

* chore: clippy

* fix: error encoding

* feat: auto generate solidity interface

* opts

* ci: fix forge-fmt

* feat: re-implement `cool`

* fix: FfiResult exit_code->exitCode

* chore: update

* fix: scripting expects

* fix: rename test output methods

* test: update expect msgs

* chore: update broadcast staticcall error message

* chore: only expand `#[vm]` macro in `cfg(test)`

* test: update precompile error msg

* test: update env tests

* fix: expectCall value gt 0

* fix: fs error messages

* fix: rm huff abi test

* fix: forge fmt

* fix: JSON coerce error msg

* fix: JSON non-object error message

* chore: random stuff

* tmp: comment out sleep fuzz test

* chore: mark generated files in .gitattributes

* chore: uncapitalize an error msg

* fix: use BTreeMap for serialized JSONs

* chore: better tracing

* fix: properly serialize JSON arrays

* fix: missing rpc url error message

* fix: mock calls

* chore: clippy

* fix: update broadcast sender nonce, not CREATE2 deployer

* chore: use trace! for verbose cheatcode logs

* feat: extend schema to include other items

* feat: generate Vm from expanded interface

* chore: clippy

* fix: use forge-std pr

* fix: use forge-std master
2023-10-31 20:52:27 +01:00
Arsenii Kulikov
32e8e83a13
Rename Cheats -> Vm (#5338)
* change naming

fix

* forge fmt
2023-07-08 13:40:11 +02:00
lambda-0x
58a2729975
fix(docs): minor typos and updates (#4937)
* fix(docs): minor typos and updates

* fix: remove unnecessary cast
2023-05-13 19:05:27 +02:00
joshieDo
e919a638e6
fix: empty setUp with default sender on forge script (#3817)
* clean-up nonce correction

* dont correct nonce from default sender

* add docs for nonce management on forge script

* fix

* add test
2022-12-07 00:11:08 -08:00
joshieDo
a854a0e16c
docs: add flow diagrams about forge script (#3785)
* add flow diagrams on scripting logic

* add toc
2022-11-30 13:33:01 -08:00
DaniPopes
860d083183
fmt: all (#3398)
* fmt: all

* fmt: rest

* fmt: missing
2022-09-28 18:28:26 +02:00
Matthias Seitz
98a678a850
docs: cheatcode typos (#2845) 2022-08-19 16:12:51 +02:00
Matthias Seitz
876ca6ed31
docs: document how cheatcodes are implemented (#2815)
* docs: document how cheatcodes are implemented

* Apply suggestions from code review

Co-authored-by: Georgios Konstantopoulos <me@gakonst.com>
2022-08-17 15:36:35 -07:00
Bjerg
fbb825a5fe
chore: merge both existing debugging documents (#2788) 2022-08-15 21:51:07 +02:00
Matthias Seitz
bbcb91abb8
docs: add basic dev docs folder (#2608) 2022-08-04 16:55:30 +02:00