Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion contracts/events/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "boundless-events"
version = "1.4.0"
version = "1.5.0"
edition = "2021"
publish = false

Expand Down
2 changes: 1 addition & 1 deletion contracts/events/src/admin.rs
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ const UPGRADE_TIMELOCK_LEDGERS: u32 = 17_280;
const UPGRADE_TIMELOCK_LEDGERS: u32 = 0;
const PENDING_UPGRADE_TTL_LEDGERS: u32 = 518_400;

pub const INITIAL_VERSION: &str = "1.4.0";
pub const INITIAL_VERSION: &str = "1.5.0";

// ============================================================
// INITIALIZATION
Expand Down
2 changes: 1 addition & 1 deletion contracts/events/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ mod tests;
use crate::errors::Error;
use crate::types::*;

contractmeta!(key = "version", val = "1.4.0");
contractmeta!(key = "version", val = "1.5.0");
contractmeta!(
key = "description",
val = "Boundless events contract: hackathon, bounty, grant + escrow"
Expand Down
8 changes: 4 additions & 4 deletions contracts/events/src/tests/admin.rs
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ fn initializes_with_expected_config() {
assert_eq!(ctx.client.get_fee_bps(), 250);
assert_eq!(ctx.client.get_profile_contract(), ctx.profile_contract);
assert_eq!(ctx.client.is_paused(), false);
assert_eq!(ctx.client.version(), String::from_str(&ctx.env, "1.4.0"));
assert_eq!(ctx.client.version(), String::from_str(&ctx.env, "1.5.0"));
assert_eq!(ctx.client.get_pending_upgrade(), None);
assert_eq!(ctx.client.get_migrated_to_version(), None);
}
Expand Down Expand Up @@ -96,7 +96,7 @@ fn apply_upgrade_before_timelock_reverts() {
.expect("timelock blocks")
.unwrap();
assert_eq!(err, Error::UpgradeTimelockNotElapsed);
assert_eq!(ctx.client.version(), String::from_str(&ctx.env, "1.4.0"));
assert_eq!(ctx.client.version(), String::from_str(&ctx.env, "1.5.0"));
}

#[test]
Expand Down Expand Up @@ -130,7 +130,7 @@ fn cancel_pending_upgrade_clears_proposal() {

ctx.client.cancel_pending_upgrade();
assert_eq!(ctx.client.get_pending_upgrade(), None);
assert_eq!(ctx.client.version(), String::from_str(&ctx.env, "1.4.0"));
assert_eq!(ctx.client.version(), String::from_str(&ctx.env, "1.5.0"));
}

#[test]
Expand All @@ -152,7 +152,7 @@ fn migrate_marks_current_version_and_blocks_replay() {
ctx.client.migrate();
assert_eq!(
ctx.client.get_migrated_to_version(),
Some(String::from_str(&ctx.env, "1.4.0"))
Some(String::from_str(&ctx.env, "1.5.0"))
);

let err = ctx
Expand Down
Loading