Skip to content

Commit dbeee90

Browse files
committed
Merge remote-tracking branch 'origin/release/3.1.0.0.7' into feat/nix_build_shell
2 parents dbad255 + d015471 commit dbeee90

File tree

115 files changed

+10515
-10896
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

115 files changed

+10515
-10896
lines changed

CHANGELOG.md

Lines changed: 16 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,12 +5,27 @@ All notable changes to this project will be documented in this file.
55
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
66
and this project adheres to the versioning scheme outlined in the [README.md](README.md).
77

8-
## [Unreleased]
8+
## [3.1.0.0.7]
9+
10+
## Added
11+
12+
- Add `disable_retries` mode for events_observer disabling automatic retry on error
13+
14+
## Changed
15+
16+
- Implement faster cost tracker for default cost functions in Clarity
17+
- By default, miners will wait for a new tenure to start for a configurable amount of time after receiving a burn block before
18+
submitting a block commit. This will reduce the amount of RBF transactions miners are expected to need.
19+
- Add weight threshold and percentages to `StackerDBListener` logs
20+
- Signer will not allow reorg if more than one block in the current tenure has already been globally approved
21+
22+
## [3.1.0.0.6]
923

1024
## Added
1125

1226
- The `BlockProposal` StackerDB message serialization struct now includes a `server_version` string, which represents the version of the node that the miner is using. ([#5803](https://github.com/stacks-network/stacks-core/pull/5803))
1327
- Add `vrf_seed` to the `/v3/sortitions` rpc endpoint
28+
- Added hot-reloading of `burnchain.burn_fee_cap` from a miner's config file ([#5857](https://github.com/stacks-network/stacks-core/pull/5857))
1429

1530
### Changed
1631

clarity/src/vm/contexts.rs

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -715,6 +715,10 @@ impl<'a, 'hooks> OwnedEnvironment<'a, 'hooks> {
715715
})
716716
}
717717

718+
pub fn is_mainnet(&self) -> bool {
719+
self.context.mainnet
720+
}
721+
718722
#[cfg(any(test, feature = "testing"))]
719723
pub fn stx_faucet(&mut self, recipient: &PrincipalData, amount: u128) {
720724
self.execute_in_env::<_, _, crate::vm::errors::Error>(
@@ -1639,7 +1643,7 @@ impl<'a, 'hooks> GlobalContext<'a, 'hooks> {
16391643
);
16401644
f(&mut exec_env)
16411645
};
1642-
self.roll_back().map_err(crate::vm::errors::Error::from)?;
1646+
self.roll_back()?;
16431647

16441648
match result {
16451649
Ok(return_value) => Ok(return_value),

clarity/src/vm/costs/cost_functions.rs

Lines changed: 326 additions & 0 deletions
Large diffs are not rendered by default.

0 commit comments

Comments
 (0)