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

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

Closed
wants to merge 1 commit into from

Conversation

qdm12
Copy link
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`
@dimartiro
Copy link
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