Skip to content

Commit ba223b4

Browse files
committed
chore(events): bump to 1.6.0 to match on-chain upgrade
The testnet events contract was upgraded to 1.6.0 on 2026-07-28 (wasm hash bfc1710911afbf150cc6e48e9264e1def81cde954bad8ecbf42dc96954b11f5d, see deployments/testnet-upgrades.jsonl), but the source still declared 1.5.0. Bump events 1.5.0 -> 1.6.0 across INITIAL_VERSION, contractmeta, and the Cargo package version so source and chain agree.
1 parent b1a8a75 commit ba223b4

5 files changed

Lines changed: 8 additions & 8 deletions

File tree

Cargo.lock

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

contracts/events/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "boundless-events"
3-
version = "1.5.0"
3+
version = "1.6.0"
44
edition = "2021"
55
publish = false
66

contracts/events/src/admin.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ const UPGRADE_TIMELOCK_LEDGERS: u32 = 17_280;
1515
const UPGRADE_TIMELOCK_LEDGERS: u32 = 0;
1616
const PENDING_UPGRADE_TTL_LEDGERS: u32 = 518_400;
1717

18-
pub const INITIAL_VERSION: &str = "1.5.0";
18+
pub const INITIAL_VERSION: &str = "1.6.0";
1919

2020
// ============================================================
2121
// INITIALIZATION

contracts/events/src/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ mod tests;
2424
use crate::errors::Error;
2525
use crate::types::*;
2626

27-
contractmeta!(key = "version", val = "1.5.0");
27+
contractmeta!(key = "version", val = "1.6.0");
2828
contractmeta!(
2929
key = "description",
3030
val = "Boundless events contract: hackathon, bounty, grant + escrow"

contracts/events/src/tests/admin.rs

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ fn initializes_with_expected_config() {
1919
assert_eq!(ctx.client.get_fee_bps(), 250);
2020
assert_eq!(ctx.client.get_profile_contract(), ctx.profile_contract);
2121
assert_eq!(ctx.client.is_paused(), false);
22-
assert_eq!(ctx.client.version(), String::from_str(&ctx.env, "1.5.0"));
22+
assert_eq!(ctx.client.version(), String::from_str(&ctx.env, "1.6.0"));
2323
assert_eq!(ctx.client.get_pending_upgrade(), None);
2424
assert_eq!(ctx.client.get_migrated_to_version(), None);
2525
}
@@ -96,7 +96,7 @@ fn apply_upgrade_before_timelock_reverts() {
9696
.expect("timelock blocks")
9797
.unwrap();
9898
assert_eq!(err, Error::UpgradeTimelockNotElapsed);
99-
assert_eq!(ctx.client.version(), String::from_str(&ctx.env, "1.5.0"));
99+
assert_eq!(ctx.client.version(), String::from_str(&ctx.env, "1.6.0"));
100100
}
101101

102102
#[test]
@@ -130,7 +130,7 @@ fn cancel_pending_upgrade_clears_proposal() {
130130

131131
ctx.client.cancel_pending_upgrade();
132132
assert_eq!(ctx.client.get_pending_upgrade(), None);
133-
assert_eq!(ctx.client.version(), String::from_str(&ctx.env, "1.5.0"));
133+
assert_eq!(ctx.client.version(), String::from_str(&ctx.env, "1.6.0"));
134134
}
135135

136136
#[test]
@@ -152,7 +152,7 @@ fn migrate_marks_current_version_and_blocks_replay() {
152152
ctx.client.migrate();
153153
assert_eq!(
154154
ctx.client.get_migrated_to_version(),
155-
Some(String::from_str(&ctx.env, "1.5.0"))
155+
Some(String::from_str(&ctx.env, "1.6.0"))
156156
);
157157

158158
let err = ctx

0 commit comments

Comments
 (0)