Skip to content

Support Bitcoin with Protocol contract v2 architecture #2711

@lumtis

Description

@lumtis

Describe the Issue

  • Define some logic allow to set ProtocolContractVersions == 2 in the vote inbound in inbound.go
  • Set the correct message: the message passed in VoteInbound is not the message itself, it doesn't contains the receiver as first few bytes anymore, this parsing should be done at the ZetaClient level
  • Add E2E test to check Deposit and DepositAndCall

IMPORTANT: Bitcoin should still use the Origin field for the context for calls has the sender field (ethaddress) can't contains the address : #3018 (comment)

Metadata

Metadata

Assignees

Labels

chain:bitcoinBitcoin chain relatedzetaclientIssues related to ZetaClient

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions