Skip to content

Commit

Permalink
bump version
Browse files Browse the repository at this point in the history
  • Loading branch information
jhernandezb committed Oct 1, 2024
1 parent 179edd1 commit 44a9481
Show file tree
Hide file tree
Showing 6 changed files with 14 additions and 27 deletions.
20 changes: 10 additions & 10 deletions 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 Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ members = ["packages/*", "contracts/*"]
resolver = "2"

[workspace.package]
version = "2.2.1"
version = "2.3.0"
edition = "2021"
homepage = "https://stargaze.zone"
repository = "https://github.com/public-awesome/names"
Expand Down
2 changes: 1 addition & 1 deletion contracts/marketplace/schema/name-marketplace.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"contract_name": "name-marketplace",
"contract_version": "2.2.1",
"contract_version": "2.3.0",
"idl_version": "1.0.0",
"instantiate": {
"$schema": "http://json-schema.org/draft-07/schema#",
Expand Down
13 changes: 0 additions & 13 deletions contracts/marketplace/src/migrate.rs
Original file line number Diff line number Diff line change
Expand Up @@ -49,19 +49,6 @@ pub fn migrate(deps: DepsMut, _env: Env, msg: MigrateMsg) -> Result<Response, Co
StdError::generic_err("Must upgrade contract version")
);

let sudo_params_v1_2 = SUDO_PARAMS_V1_2.load(deps.storage)?;
let sudo_params = SudoParams {
trading_fee_percent: sudo_params_v1_2.trading_fee_percent,
min_price: sudo_params_v1_2.min_price,
ask_interval: sudo_params_v1_2.ask_interval,
max_renewals_per_block: msg.max_renewals_per_block,
valid_bid_query_limit: msg.valid_bid_query_limit,
renew_window: msg.renew_window,
renewal_bid_percentage: msg.renewal_bid_percentage,
operator: deps.api.addr_validate(&msg.operator)?,
};
SUDO_PARAMS.save(deps.storage, &sudo_params)?;

cw2::set_contract_version(deps.storage, CONTRACT_NAME, CONTRACT_VERSION)?;

let response = Response::new().add_event(
Expand Down
2 changes: 1 addition & 1 deletion contracts/name-minter/schema/name-minter.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"contract_name": "name-minter",
"contract_version": "2.2.1",
"contract_version": "2.3.0",
"idl_version": "1.0.0",
"instantiate": {
"$schema": "http://json-schema.org/draft-07/schema#",
Expand Down
2 changes: 1 addition & 1 deletion contracts/sg721-name/schema/sg721-name.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"contract_name": "sg721-name",
"contract_version": "2.2.1",
"contract_version": "2.3.0",
"idl_version": "1.0.0",
"instantiate": {
"$schema": "http://json-schema.org/draft-07/schema#",
Expand Down

0 comments on commit 44a9481

Please sign in to comment.