Skip to content

Conversation

@shermike
Copy link
Contributor

@shermike shermike commented Apr 10, 2025

This is a Proof Of Concept PR about enshrined tokens implemented in contracts.

The following was done:

  • TokenManager contract control all tokens within one shard. It has a predefined address and is deployed on each shard.
  • Relayer is a stub for messages via contracts. In this PR, it is necessary only for calling TokenManager contract to handle tokens.
  • Support bounce transactions in Relayer
  • Replace all tokens precompiles

It already passes all tests from multitoken_test.go file.

return as.requestId
}

func NewAccountStateReader(account *AccountState) *AccountStateReader {
Copy link
Contributor

@Un1oR Un1oR Apr 21, 2025

Choose a reason for hiding this comment

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

The account parameter is no longer used

}

func (api *localShardApi) CallGetter(
func (api *localShardApiRo) CallGetter(
Copy link
Contributor

Choose a reason for hiding this comment

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

Suggested change
func (api *localShardApiRo) CallGetter(
func (api *localShardApiRo) callGetter(

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.

4 participants