Skip to content

Commit

Permalink
feat: implement state replace contract (#208)
Browse files Browse the repository at this point in the history
* feat: implement state replace contract
* remove need to buffer deserialization and include clean method
* put logic behind feature flag
* add workspaces fuzz prop test
* remove state cleanup (deprecated)
* switch to using resolver 2 to avoid tests bringing in std
* switch to just use 2021 version of Rust
* stream deserializer not working (can optimize later)
* switch back to unwraps
* update README and switch feature name to clean
* replace serialization format with keyed map
* update workspaces and improve test
  • Loading branch information
austinabell authored Jun 30, 2023
1 parent dad58eb commit 3f3170f
Show file tree
Hide file tree
Showing 17 changed files with 3,178 additions and 734 deletions.
664 changes: 0 additions & 664 deletions state-cleanup/Cargo.lock

This file was deleted.

21 changes: 0 additions & 21 deletions state-cleanup/Cargo.toml

This file was deleted.

18 changes: 0 additions & 18 deletions state-cleanup/README.md

This file was deleted.

5 changes: 0 additions & 5 deletions state-cleanup/build.sh

This file was deleted.

Binary file removed state-cleanup/res/state_cleanup.wasm
Binary file not shown.
26 changes: 0 additions & 26 deletions state-cleanup/src/lib.rs

This file was deleted.

2 changes: 2 additions & 0 deletions state-manipulation/.cargo/config.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
[target.wasm32-unknown-unknown]
rustflags = ["-C", "link-arg=-s"]
1 change: 1 addition & 0 deletions state-manipulation/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
.near-credentials
Loading

0 comments on commit 3f3170f

Please sign in to comment.