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

[PVM] New AddDepositOfferTx + associated changes in DepositTx and AddressStateTx #79

Merged
merged 2 commits into from
Jun 28, 2023

Conversation

knikos
Copy link
Member

@knikos knikos commented Jun 27, 2023

Why this should be merged

To support the building and issuing of the new tx AddDepositOfferTx, as well as the new versions of the existing txs DepositTx, AddressStateTx. The PR also adds new e2e tests for related to the new/changed txs mentioned above.
Furthermore, to support the concept of UpgradeVersionID,

How this works

It introduces new txs and updates existing ones as well as their apis and builders. It also integrates the concept of UpgradeVersionIDs and adds a new API getUpgradePhases which returns Upgrade Version for each phase.
The se-/deserialization logic of txs leveraging this new concept is accordingly adjusted.

How this was tested

Unit + e2e tests as well as manually via introduced examples

@knikos knikos changed the title [PVM] New AddDepositOfferTx + associated changes on DepositTx and AddressStateTx [PVM] New AddDepositOfferTx + associated changes in DepositTx and AddressStateTx Jun 27, 2023
@knikos knikos force-pushed the feature/add-deposit-offer-tx branch from fc9d661 to a455e4b Compare June 28, 2023 08:05
@github-actions
Copy link

github-actions bot commented Jun 28, 2023

⚠️ Found errors/fatal log records. Please review them(job:e2e, step:"Check produced logs") and resolve this comment.

2 errors
0 fatal

@knikos knikos force-pushed the feature/add-deposit-offer-tx branch from a455e4b to 6d6ecab Compare June 28, 2023 08:45
@knikos knikos requested review from peak3d and c4t-ag June 28, 2023 08:56
@knikos knikos marked this pull request as ready for review June 28, 2023 08:56
@peak3d peak3d force-pushed the feature/add-deposit-offer-tx branch 2 times, most recently from 68e84d8 to d1e1066 Compare June 28, 2023 09:29
@knikos knikos force-pushed the feature/add-deposit-offer-tx branch from d1e1066 to a852d7d Compare June 28, 2023 09:35
src/apis/platformvm/adddepositoffertx.ts Outdated Show resolved Hide resolved
@knikos knikos force-pushed the feature/add-deposit-offer-tx branch from a852d7d to b51d9cb Compare June 28, 2023 09:45
@knikos knikos requested a review from c4t-ag June 28, 2023 09:46
@c4t-ag c4t-ag removed the request for review from peak3d June 28, 2023 09:50
@peak3d peak3d force-pushed the feature/add-deposit-offer-tx branch from b51d9cb to ceb4567 Compare June 28, 2023 10:32
@knikos knikos merged commit fa7a538 into dev Jun 28, 2023
@knikos knikos deleted the feature/add-deposit-offer-tx branch June 28, 2023 10:52
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.

3 participants