stacks-blockchain-api icon indicating copy to clipboard operation
stacks-blockchain-api copied to clipboard

[Nakamoto] Support `pox-4` changes

Open zone117x opened this issue 2 years ago • 3 comments

Some PoX contract functions (and events) will likely be updated with new fields as described at: https://github.com/stacksgov/sips/blob/feat/sip-021-nakamoto/sips/sip-021/sip-021-nakamoto.md#changes-to-pox

The changes aren't fully defined yet. This issue is tracking them: https://github.com/stacks-network/stacks-blockchain/issues/3948

There will likely be new arguments/fields added to the PoX contract functions that the API is currently parsing and storing. If so, the API can ingest and expose these for the pox/stacking related endpoints.

zone117x avatar Oct 04 '23 14:10 zone117x

There are also likely changes needed for the Rosetta layer, e.g. when creating stacking transactions via Rosetta. TBD..

zone117x avatar Oct 04 '23 14:10 zone117x

Pox-4 support implemented and tested in https://github.com/hirosystems/stacks-blockchain-api/pull/1754 and https://github.com/hirosystems/stacks-blockchain-api/pull/1762

The pox-4 contract doesn't yet include signer arguments for the stacking functions described in SIP-021, that functionality is planned for the Argon milestone, and is being tracked here: https://github.com/stacks-network/stacks-core/issues/3970

zone117x avatar Dec 11 '23 17:12 zone117x

The signer-key argument is being added to pox-4.clar functions in https://github.com/stacks-network/stacks-core/pull/4209 (not yet merged)

zone117x avatar Jan 02 '24 15:01 zone117x

Completed

zone117x avatar Apr 15 '24 15:04 zone117x