Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

"contract" op code sanity checks #1453

Merged
merged 43 commits into from
Nov 15, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
43 commits
Select commit Hold shift + click to select a range
8df83c3
WIP add infra for contract testing
MitchTurner Oct 25, 2023
333e74a
Restructure new bench infra, add stalling `call` bench
MitchTurner Oct 26, 2023
8fd9633
Merge branch 'master' into contract-op-code-sanity-check
MitchTurner Oct 26, 2023
864fe3b
Fix insert
MitchTurner Oct 27, 2023
1fe61c6
WIP debugging stalling benchmark
MitchTurner Oct 27, 2023
39be18e
Get simple bench working
MitchTurner Oct 27, 2023
b79b577
Get call bench actually working!
MitchTurner Oct 28, 2023
0def296
Add range of contract sizes for `call` benches
MitchTurner Oct 30, 2023
773b8e1
Add `bal` benches
MitchTurner Oct 30, 2023
dc2aa9d
Finish simple benches, bring over example code for complex ones
MitchTurner Oct 30, 2023
7e4c311
WIP add new methods without verification
MitchTurner Oct 31, 2023
31fa121
WIP Fix some compelation
MitchTurner Oct 31, 2023
919127f
WIP Fix some benches, add more
MitchTurner Nov 1, 2023
e58abf7
Add `scwq` bench, but comment out because undercosted
MitchTurner Nov 2, 2023
e43b05b
Add all but tro and other sequential
MitchTurner Nov 2, 2023
1b89fb7
Fix all but smo and tro
MitchTurner Nov 2, 2023
dd62a49
Merge branch 'master' into contract-op-code-sanity-check
MitchTurner Nov 2, 2023
0769262
Cleanup comments, update CHANGELOG
MitchTurner Nov 2, 2023
7cc0428
Fix smo
MitchTurner Nov 2, 2023
c51a092
Comment out `tro`
MitchTurner Nov 3, 2023
48ad913
Add sequential op code benches but just comment out
MitchTurner Nov 3, 2023
90db502
Fix compilation warnings
MitchTurner Nov 3, 2023
b8195ba
Revert bad fmt
MitchTurner Nov 3, 2023
ef78901
Replace removed changelog entries
MitchTurner Nov 3, 2023
faa299c
Pick some nits
MitchTurner Nov 3, 2023
e8b041d
Add docs to helper functions
MitchTurner Nov 3, 2023
88bab84
Fix name, comment out sequential op bench
MitchTurner Nov 3, 2023
6d952b7
Removed unused function, remove dbg
MitchTurner Nov 3, 2023
72319ee
Appease Clippy-sama
MitchTurner Nov 3, 2023
6ee19be
Update benches/benches/block_target_gas.rs
MitchTurner Nov 8, 2023
8fd7b89
remove dum comments
MitchTurner Nov 8, 2023
d811014
Merge branch 'master' into contract-op-code-sanity-check
MitchTurner Nov 8, 2023
b14aecb
Update CHANGELOG
MitchTurner Nov 8, 2023
f26ec0d
Remove mistake
MitchTurner Nov 8, 2023
f14aa0d
Refactor into factory thing, address some PR reviews
MitchTurner Nov 10, 2023
a3f7060
Add all review changes but `tro` stuff
MitchTurner Nov 14, 2023
afc9488
Merge branch 'master' into contract-op-code-sanity-check
xgreenx Nov 15, 2023
a66e197
Merge remote-tracking branch 'origin/master' into contract-op-code-sa…
xgreenx Nov 15, 2023
a3936c1
WIP fixing `tro`
MitchTurner Nov 15, 2023
b40f617
Merge remote-tracking branch 'origin/contract-op-code-sanity-check' i…
xgreenx Nov 15, 2023
37bfa17
Add incrementing u256 storage key
xgreenx Nov 15, 2023
e24af3e
Use updated costs for sequential opcodes.
xgreenx Nov 15, 2023
7d24aad
Merge branch 'master' into contract-op-code-sanity-check
xgreenx Nov 15, 2023
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ Description of the upcoming release here.

- [#1488](https://github.com/FuelLabs/fuel-core/pull/1488): Add docker login for cross binaries that use docker
- [#1485](https://github.com/FuelLabs/fuel-core/pull/1485): Prepare rc release of fuel core v0.21
- [#1453](https://github.com/FuelLabs/fuel-core/pull/1453): Add the majority of the "sanity" benchmarks for contract opcodes.
- [#1473](https://github.com/FuelLabs/fuel-core/pull/1473): Expose fuel-core version as a constant
- [#1469](https://github.com/FuelLabs/fuel-core/pull/1469): Added support of bloom filter for RocksDB tables and increased the block cache.
- [#1642](https://github.com/FuelLabs/fuel-core/pull/1462): Added benchmark to measure the performance of contract state and contract ID calculation; use for gas costing.
Expand Down
1 change: 1 addition & 0 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions benches/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ ctrlc = "3.2.3"
ed25519-dalek = { version = "2.0", features = ["rand_core"] }
ethnum = "1.3"
fuel-core = { path = "../crates/fuel-core", default-features = false, features = ["rocksdb-production"] }
fuel-core-chain-config = { workspace = true }
fuel-core-services = { path = "./../crates/services" }
fuel-core-storage = { path = "./../crates/storage" }
fuel-core-sync = { path = "./../crates/services/sync", features = ["benchmarking"] }
Expand Down
Loading
Loading