November 2022 Product Changelog
Hiro continually makes changes and updates to add new features and functionality. Each month, these changes describe which products are affected, what changes and updates were made, and what actions need to be taken to ensure these updates are applied.
The sections below describe the changes and updates made in November.
Stacks API had several updates and changes released to prepare for the upcoming Stacks 2.1 network upgrade. Specifically, the following updates were made:
- A new property,
miner_address, was added to the
miner_rewardsevent payload. This property identifies the principal that mined the block while also storing that value so subsequent queries can use this property to find items like unique miners.
A key Stacks 2.1 feature is the option to choose alternative recipients for rewards, which enables you to track the
miner_rewards event for alternative recipients via the
miner_address field. This field encodes the miner's address.
NoteThis field replaces the
recipient field with the generalized recipient, which is currently hard-coded to the miner.
A new parsing methodology was introduced for the new PoX-2 print events. This update adds account balance locked state validations tests to ensure Stacks API and
stacks-nodehave matching balance and locked states after each of the various Stacking operations and through each of the PoX transition periods.
Theaggregating query limit logic feature was added, which sets query limits based on the resource type being queried, which mostly determines which tables are queried. Categorizing queries in this way meant modifying some of the existing query limits for some endpoints. This should help reduce and avoid out-of-memory (OOM) errors in the future.
For more information on these updates and changes, please refer to the following resources:
An ecosystem milestone was reached with the code complete on the Stacks 2.1 network upgrade.
For more detailed information about the Stacks 2.1 update, please see the Developer’s Guide to Stacks 2.1 blog post and the blog post on how the upgrade will impact stacking.
There were several updates and changes made to chainhooks, a feature that enables developers to add IFTTT logic across both the Bitcoin and Stacks blockchains to their applications. These updates included:
The developer experience was modified by adding a new mode:
$ chainhook-node replay –testnet, which enables you to replay devnet / testnet / mainnet dumps.
chainhookd-nodeexperience was improved by adding presets. You may now use commands like:
$ chainhook-node start– and identify devnet, testnet, or mainnet and have their local environments set up in just a few minutes. For more information about these commands, please see the Using Chainhooksfeature guide.
To support the Stacks 2.1 upgrade, Clarinet was updated to improve error management in event observer while adding support for new event types and clarity version in deployment plans.
For more detailed information on these updates, please refer to the following resources:
Stacks.js was updated to support the Stacks 2.1 network upgrade. These updates support Stacks 2.1 and include features such as:
Support for new stacking methods
Support for new BTC address formats
New helpers for the PoX transition
For more information on these updates, please refer to the following resources:
Hiro Wallet was updated with the following changes:
A change was made to the fee estimate query used to suggest fee rates to a user.
You now have the option to easily transfer assets within the same wallet.
Support was added for BNS recipients, enabling users to add a .btc name in the recipient field and send it to the associated address.
For more information about these changes, please refer to the following resources:
There were several changes made to Explorer to improve stability and provide additional information for Explorer users. These updates include:
The Clarity version for smart contract transactions is now displayed, alt recipient for coinbase transactions, and memo for STX transfer events.
The ability to see the historical STX price on transactions was added in Explorer. Please note that the price listed will be on the day of the transaction, not the exact moment of the transaction.
There is also now tooltip support when a user hovers over the icons in the Sandbox, improving navigation.
You can now easily copy and paste the exact local time of any transaction instead of having to manually write it down by clicking on the tooltip.
For more information about these changes, please see the following resources: