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

Add WASM Smart Contracts and Message Net #16

Open
wants to merge 18 commits into
base: feeMechanism
Choose a base branch
from

Conversation

manojkgorle
Copy link
Member

@manojkgorle manojkgorle commented Jul 3, 2024

TODO:

  • RPC clean up.
  • Update relayer dependencies to wasmUpdated branch.
  • Transact and Deploy action(s) optimization.
  • Improvised State implementation for WASM smart contracts.
  • Tests for smart contract state changes.
  • Test NMT Root generation.
  • Remove dynamic MessageNet port generation(added for testing devnet locally)

@manojkgorle manojkgorle self-assigned this Jul 3, 2024
* remove config from genesis
* add wsServer during initialize
*Move ABI from config to transact action
*Remove VKey protocol enshrinment
* Host module builder for precompiles
* Precompiles implemented
* It builds
* wasm runtime module
* call initializer during contract deployment
* merge relayer key with balance key
* remove relayer balance and change to balance
@manojkgorle manojkgorle marked this pull request as ready for review July 9, 2024 10:05
@manojkgorle manojkgorle requested a review from mtgnoah July 9, 2024 10:05
actions/deploy.go Show resolved Hide resolved

var _ chain.Action = (*Transact)(nil)

type Transact struct {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is this just our way of calling a contract? We should add a comment here as well

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It is our way of calling a contract.

cmd/token-cli/cmd/resolutions.go Show resolved Hide resolved
* Fix allocator ptr and len issue.
* Cancel the runtime after funciton execution.
@manojkgorle manojkgorle requested a review from mtgnoah July 10, 2024 17:46
* fix msg action for relayer ID unpacking
* add e2e tests for sequencer actions and nmt root verification
Add RPC client method for submitTransactTx
Update ANR to v1.8.2
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