0chain / 0chain/0chain

Add adapter to convert the MPT nodes on SC version switching transaction

Open
#870 1 comment 0 reactions 1 assignee Claimed by @peterlimg View on GitHub
chain upgrading support post-mainnet
Dominant language
Go
Stars
121
Forks
63
PR merge metrics
No merged PRs in 30d

Description

When there's no transaction SC data input/output changes, i.e., only the business logic changed, if there are MPT nodes changed or new nodes are added, we can do it in the adapter function when executing the SC version upgrade transaction.

Contributor guide

Open the contributing guide

Research direction

The issue mentions an adapter for MPT nodes during smart contract version switching. Look for SC (smart contract) upgrade transaction logic and MPT (Merkle Patricia Trie) node handling in the codebase. Find where version switching transactions are executed and identify the adapter function location. Determine what changes to MPT nodes are needed and how to integrate the adapter.

Written by the indexing model from the issue text.

Assessment

Tech stack
blockchain, go
Domain
blockchain
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.