Skip to content

feat(wasmer): implement functions using v1 state trie#2664

Closed
qdm12 wants to merge 1 commit intodevelopmentfrom
qdm12/trie/v1/runtime-functions
Closed

feat(wasmer): implement functions using v1 state trie#2664
qdm12 wants to merge 1 commit intodevelopmentfrom
qdm12/trie/v1/runtime-functions

Conversation

@qdm12
Copy link
Copy Markdown
Contributor

@qdm12 qdm12 commented Jul 11, 2022

Changes

Progress:

  • Version state trie operations Put and Hash
  • Implement runtime functions
    • ext_trie_blake2_256_root_version_2
    • ext_trie_blake2_256_ordered_root_version_2
    • ext_trie_blake2_256_verify_proof_version_2
    • ext_default_child_storage_root_version_2
    • ext_storage_root_version_2
  • Change version from 4 bytes pointed by pointer to uint8 read from uint32 4 bytes.
  • Panic instead of logger.Error
  • Add unit tests

Related PR: w3f/polkadot-spec#518

Tests

go test -tags integration github.com/ChainSafe/gossamer

Issues

#2418

Primary Reviewer

- `ext_trie_blake2_256_root_version_2`
- `ext_trie_blake2_256_ordered_root_version_2`
- `ext_trie_blake2_256_verify_proof_version_2`
- `ext_default_child_storage_root_version_2`
- `ext_storage_root_version_2`
@qdm12 qdm12 force-pushed the qdm12/trie/v1/runtime-functions branch from 9064e4b to bb43397 Compare November 30, 2022 17:54
@dimartiro dimartiro mentioned this pull request May 30, 2023
27 tasks
@dimartiro
Copy link
Copy Markdown
Contributor

Closed in favor of #3428

@dimartiro dimartiro closed this Aug 10, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants