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

use wazero #582

Draft
wants to merge 114 commits into
base: main
Choose a base branch
from
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
114 commits
Select commit Hold shift + click to select a range
5eeb9ab
most tests pass
faddat Dec 19, 2024
26fc9f5
Merge remote-tracking branch 'origin/main'
faddat Dec 19, 2024
c114170
sleep`
faddat Dec 19, 2024
7e23cac
cleanup
faddat Dec 19, 2024
ae1b69e
don't close cache in ReleasCache
faddat Dec 19, 2024
03575a1
additional cleanup
faddat Dec 19, 2024
d06a50d
resolve further issues
faddat Dec 19, 2024
8fc8213
fix issues with siguantures
faddat Dec 20, 2024
9a337bb
memory management
faddat Dec 20, 2024
62a2b75
fix analyzecode
faddat Dec 20, 2024
e0a26b2
database functions
faddat Dec 20, 2024
adddaef
fix issues related to db_scan
faddat Dec 20, 2024
b0fe30b
fix addr_validate
faddat Dec 20, 2024
e51b683
add 3 types of sig verification
faddat Dec 20, 2024
e8bb8f1
add query_chain host function
faddat Dec 20, 2024
1aba7bc
gci
faddat Dec 20, 2024
06918ac
fix testfloats
faddat Dec 20, 2024
fdeda87
fix out of bounds memory access
faddat Dec 21, 2024
237fa73
add missing host functions
faddat Dec 21, 2024
51a29b3
revert golangci changes to focus on the insantiate issue
faddat Dec 21, 2024
76ab8e1
Merge remote-tracking branch 'upstream/main' into merged-chaos
faddat Dec 21, 2024
136538c
Refactor memory management and host functions in wasmvm
faddat Dec 22, 2024
5b2ef78
testifylint execpt for the MockInfoBin
faddat Dec 22, 2024
58a57ab
Create tests.yml
faddat Dec 22, 2024
9404e32
testifylint execpt for the MockInfoBin
faddat Dec 22, 2024
3eb0c97
gci'd
faddat Dec 22, 2024
64e241e
continue test cleanup
faddat Dec 22, 2024
675f892
gci is much better than goimports
faddat Dec 22, 2024
1921179
use latest linter
faddat Dec 22, 2024
f8005f8
resolve issues with goroutine
faddat Dec 22, 2024
445f165
enable errcheck and thelper linters
faddat Dec 22, 2024
2226db6
remove manual host side deallocation
faddat Dec 22, 2024
f2476ef
progress...
faddat Dec 22, 2024
80e9ddd
update runtime
faddat Dec 22, 2024
cbcf5a9
update contracts used in testing`
faddat Dec 22, 2024
3286d4f
update capabilities
faddat Dec 22, 2024
bd565b4
correct typo from adjusting tests.
faddat Dec 22, 2024
7bd5e19
Merge branch 'faddat/testifylint' into faddat/errcheck
faddat Dec 22, 2024
806765d
Merge commit 'cbcf5a9' into merged-chaos
faddat Dec 22, 2024
1ad7343
Merge commit '3286d4f' into merged-chaos
faddat Dec 22, 2024
ee2187d
Revert "update capabilities"
faddat Dec 23, 2024
6875d5f
Revert "update runtime"
faddat Dec 23, 2024
eb485f8
add cryptographic imports
faddat Dec 23, 2024
1e0588a
replace deprecated library
faddat Dec 23, 2024
4dacdd8
all signature mismatches resolved
faddat Dec 23, 2024
da99b00
add validation.go
faddat Dec 23, 2024
6b34c21
TestStoreCode passes, introduce table-driven test
faddat Dec 23, 2024
35f5986
improve debug
faddat Dec 24, 2024
9810ad1
Merge commit '58a57ab' into merged-chaos
faddat Dec 25, 2024
4f8afaa
`Merge commit 'bd565b4' into merged-chaos
faddat Dec 25, 2024
8ac36b5
Merge commit '7bd5e19' into merged-chaos
faddat Dec 25, 2024
dda5695
lint
faddat Dec 25, 2024
ccc48d7
update linter config
faddat Dec 25, 2024
4309b4e
Update .gitignore, modify mock time format, and enhance host function…
faddat Dec 26, 2024
9af9725
restore libwasmvm to ease reference
faddat Dec 26, 2024
83a8f08
high quality debug info
faddat Jan 2, 2025
03e886a
add additional debug (look at adapted vs actual...)
faddat Jan 3, 2025
0d45e1e
turn on debug
faddat Jan 3, 2025
4e497f5
Enhance testing capabilities, improve gas tracking, and validate memo…
faddat Jan 4, 2025
4a5e8a9
Add new contracts and update existing ones with improved schemas and …
faddat Jan 4, 2025
311ef12
Refactor WazeroRuntime to support additional parameters in contract f…
faddat Jan 5, 2025
7282c60
Add gas tracking functionality and refactor gas costs in runtime
faddat Jan 5, 2025
0a8eb5c
Refactor tests and improve error handling in IBC and memory database
faddat Jan 5, 2025
38c321e
Update .gitignore, enhance debug logging in host functions, and impro…
faddat Jan 5, 2025
fa17dcf
align runtime with lib
faddat Jan 5, 2025
f78dd37
Refactor WazeroRuntime to centralize parameter validation
faddat Jan 5, 2025
f6910f8
Enhance callContractFn with structured memory management and detailed…
faddat Jan 6, 2025
58af4fd
fix lints
faddat Jan 6, 2025
ef57261
add wzaero code
faddat Jan 6, 2025
d37b8a9
make it reviewable...
faddat Jan 7, 2025
d3f9f1e
change gitignore and remove extra files
faddat Jan 7, 2025
e7c998a
Merge branch 'main' into merged-chaos
faddat Jan 9, 2025
a43089f
Fix error message in IBC packet dispatch test to reflect correct chan…
faddat Jan 9, 2025
d244eb2
Update IBC test cases and internal API tests for contract migration a…
faddat Jan 9, 2025
15f159a
Update libwasmvm version to 4 and enhance capabilities in cache and t…
faddat Jan 9, 2025
5be1a6a
clippy fix
faddat Jan 9, 2025
3657fbb
cargo update
faddat Jan 9, 2025
a1a5706
update sanity check rust version
faddat Jan 9, 2025
5bf80f5
update rust
faddat Jan 9, 2025
368d129
update builder rust
faddat Jan 9, 2025
80478ad
update version
faddat Jan 9, 2025
4d326c9
update cargo-audit version
faddat Jan 9, 2025
1958bfa
update contract capabilities expected in test
faddat Jan 11, 2025
6aa8922
Merge branch 'main' into faddat/update-contracts
faddat Jan 11, 2025
e31ce9e
ensure we are getting type error
faddat Jan 11, 2025
b3e5f06
wazero-contest
faddat Jan 11, 2025
9d9d3b6
Merge branch 'main' into faddat/memory-progress
faddat Jan 11, 2025
fcf80bf
improve logging
faddat Jan 11, 2025
f9da8c8
Merge branch 'faddat/memory-progress' of https://github.com/faddat/go…
faddat Jan 11, 2025
dda9917
ultimate logging
faddat Jan 11, 2025
e93cd11
remove contracts from git for reviewability
faddat Jan 11, 2025
cb90d0f
fix serialization, now issue is memory again
faddat Jan 11, 2025
5298c9d
most debug yet
faddat Jan 11, 2025
b7732c5
out of bounds memory access everywhere
faddat Jan 11, 2025
d9434a8
back at invalid type
faddat Jan 11, 2025
181d0a8
omg stuff ran
faddat Jan 11, 2025
e5541f7
testfloats passes
faddat Jan 11, 2025
3f82f1e
testfloats still passes
faddat Jan 11, 2025
a09db13
testfloats still passes
faddat Jan 11, 2025
7651286
update how tests work
faddat Jan 11, 2025
c2ee34a
update tests so they're individual
faddat Jan 11, 2025
8de7fad
testfloats still works
faddat Jan 11, 2025
ff20c3a
Revert "testfloats still works"
faddat Jan 11, 2025
847bab6
macos...
faddat Jan 11, 2025
3a20226
use macos and ubunut
faddat Jan 11, 2025
e568cb4
update tests
faddat Jan 11, 2025
f4c73c9
Merge remote-tracking branch 'faddat/faddat/memory-progress' into mer…
faddat Jan 12, 2025
d8996aa
Merge remote-tracking branch 'faddat/faddat/update-contracts' into me…
faddat Jan 12, 2025
628346a
don't display testfloats debug
faddat Jan 12, 2025
d69bfaa
fix small bug
faddat Jan 12, 2025
3ce77df
Refactor IBC test cases: update expected contract migrate version and…
faddat Jan 12, 2025
bdbdbb0
enhance testibc
faddat Jan 12, 2025
1de6c77
somewhat better debugging
faddat Jan 12, 2025
666a5de
fix confusion between pages and bytes in debug logs
faddat Jan 12, 2025
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
18 changes: 9 additions & 9 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ jobs:
# All checks on the codebase that can run in parallel to build_shared_library
libwasmvm_sanity:
docker:
- image: cimg/rust:1.74.0
- image: cimg/rust:1.81.0
steps:
- checkout
- run:
Expand All @@ -18,8 +18,8 @@ jobs:
command: rustup component add rustfmt
- restore_cache:
keys:
- cargocache-v3-libwasmvm_sanity-rust:1.74.0-{{ checksum "libwasmvm/Cargo.lock" }}
- cargocache-v3-libwasmvm_sanity-rust:1.74.0-
- cargocache-v3-libwasmvm_sanity-rust:1.81.0-{{ checksum "libwasmvm/Cargo.lock" }}
- cargocache-v3-libwasmvm_sanity-rust:1.81.0-
- run:
name: Ensure libwasmvm/bindings.h is up-to-date
working_directory: libwasmvm
Expand Down Expand Up @@ -139,7 +139,7 @@ jobs:
docker:
# The audit tool might use a more modern Rust version than the build jobs. See
# "Tooling Rust compiler" in docs/COMPILER_VERSIONS.md
- image: cimg/rust:1.81.0
- image: cimg/rust:1.83.0
steps:
- checkout
- run:
Expand All @@ -152,8 +152,8 @@ jobs:
command: rustc --version; cargo --version; rustup --version
- restore_cache:
keys:
- v3-libwasmvm_audit-rust:1.81.0-{{ checksum "libwasmvm/Cargo.lock" }}
- v3-libwasmvm_audit-rust:1.81.0-
- v3-libwasmvm_audit-rust:1.83.0-{{ checksum "libwasmvm/Cargo.lock" }}
- v3-libwasmvm_audit-rust:1.83.0-
- run:
name: Install cargo-audit
command: cargo install --debug cargo-audit --version 0.21.0 --locked
Expand All @@ -164,7 +164,7 @@ jobs:
- save_cache:
paths:
- ~/.cargo/registry
key: v3-libwasmvm_audit-rust:1.81.0-{{ checksum "libwasmvm/Cargo.lock" }}
key: v3-libwasmvm_audit-rust:1.83.0-{{ checksum "libwasmvm/Cargo.lock" }}

format-go:
docker:
Expand Down Expand Up @@ -267,7 +267,7 @@ jobs:

build_shared_library:
docker:
- image: cimg/rust:1.74.0
- image: cimg/rust:1.83.0
steps:
- checkout
- run:
Expand Down Expand Up @@ -455,7 +455,7 @@ workflows:
matrix:
parameters:
# Run with MSRV and some modern stable Rust
rust-version: ["1.74.0", "1.80.0"]
rust-version: ["1.80.0", "1.83.0"]
- libwasmvm_audit
- format-go
- wasmvm_no_cgo
Expand Down
Loading
Loading