Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add vending-minter-merkle-wl-featured #682

Merged
merged 1 commit into from
Apr 4, 2024

Conversation

MightOfOaks
Copy link
Member

@MightOfOaks MightOfOaks commented Apr 4, 2024

https://github.com/public-awesome/launchpad/blob/main/contracts/minters/vending-minter-merkle-wl/src/contract.rs#L670-L682 is exchanged with

let pa_dao = "stars159t8e03zlmgyekmdrpxnyf70rdky28v553kj53zsapqadaunt4wsmn5m3l".to_string();

if !network_fee.is_zero() {
    res = res.add_message(BankMsg::Send {
        to_address: pa_dao.to_string(),
        amount: vec![coin(network_fee.u128(), mint_price.denom.clone())],
    });
}

Copy link

github-actions bot commented Apr 4, 2024

Cosm-Orc Gas Usage

Contract Op Name Gas Used Old Gas Used Gas Diff File
vending_factory Store__Store 3408347 3082476 +10.5717% e2e/src/helpers/chain.rs:78
open_edition_factory Store__Store 3813089 3506900 +8.7310% e2e/src/helpers/chain.rs:78
base_factory Store__Store 2989591 2696792 +10.8573% e2e/src/helpers/chain.rs:78
base_minter Store__Store 7166934 7068056 +1.3989% e2e/src/helpers/chain.rs:78
open_edition_minter Store__Store 8819923 8700070 +1.3776% e2e/src/helpers/chain.rs:78
sg721_base Store__Store 8525902 8416494 +1.2999% e2e/src/helpers/chain.rs:78
sg721_metadata_onchain Store__Store 8983463 8886444 +1.0918% e2e/src/helpers/chain.rs:78
sg721_nt Store__Store 7947038 7842375 +1.3346% e2e/src/helpers/chain.rs:78
sg721_updatable Store__Store 9332201 9204723 +1.3849% e2e/src/helpers/chain.rs:78
sg_whitelist Store__Store 3710961 3599317 +3.1018% e2e/src/helpers/chain.rs:78
sg_whitelist_flex Store__Store 3648080 3528506 +3.3888% e2e/src/helpers/chain.rs:78
vending_minter Store__Store 9050725 8892840 +1.7754% e2e/src/helpers/chain.rs:78
vending_minter_merkle_wl Store__Store 9286623 9138800 +1.6175% e2e/src/helpers/chain.rs:78
vending_minter_wl_flex Store__Store 9218841 9075906 +1.5749% e2e/src/helpers/chain.rs:78
whitelist_immutable Store__Store 2271029 2206354 +2.9313% e2e/src/helpers/chain.rs:78
whitelist_mtree Store__Store 7583110 7025364 +7.9390% e2e/src/helpers/chain.rs:78
Raw Report for 0d5760f
Contract Op Name Gas Used Gas Wanted File
vending_factory Instantiate__factory_inst 187345 257900 e2e/src/helpers/helper.rs:35
vending_factory Execute__factory_exec_minter_inst 34042113 51039956 e2e/src/tests/factory_test.rs:98
vending_factory Store__Store 3408347 5089380 e2e/src/helpers/chain.rs:78
vending_factory Execute__factory_exec_minter_inst_w_trading_time 3862872 5771106 e2e/src/tests/factory_test.rs:244
multiple_contracts Execute__minter_batch_exec_mint_token_w_trading_time 1948666 2910020 e2e/src/tests/factory_test.rs:314
multiple_contracts Execute__minter_batch_exec_mint_token 3158398 4714736 e2e/src/tests/open_edition_factory_and_mint_tests.rs:276
open_edition_factory Execute__factory_exec_minter_inst_w_trading_time 548258 799265 e2e/src/tests/open_edition_factory_and_mint_tests.rs:411
open_edition_factory Instantiate__factory_inst 188268 259284 e2e/src/helpers/open_edition_minter_helpers.rs:39
open_edition_factory Execute__factory_exec_minter_inst 547547 798197 e2e/src/tests/open_edition_factory_and_mint_tests.rs:206
open_edition_factory Store__Store 3813089 5696493 e2e/src/helpers/chain.rs:78
minter Execute__minter_exec_mint_to_token 365558 525213 e2e/src/tests/open_edition_minter_executes_tests.rs:181
minter Execute__minter_exec_purge 140239 187293 e2e/src/tests/open_edition_minter_executes_tests.rs:282
minter Execute__minter_exec_update_per_addr_limit 209881 291704 e2e/src/tests/open_edition_minter_executes_tests.rs:217
minter Execute__minter_exec_update_trading_time 271497 384126 e2e/src/tests/open_edition_minter_executes_tests.rs:100
base_factory Store__Store 2989591 4461246 e2e/src/helpers/chain.rs:78
base_minter Store__Store 7166934 10727201 e2e/src/helpers/chain.rs:78
open_edition_minter Store__Store 8819923 13206684 e2e/src/helpers/chain.rs:78
sg721_base Store__Store 8525902 12765653 e2e/src/helpers/chain.rs:78
sg721_metadata_onchain Store__Store 8983463 13451994 e2e/src/helpers/chain.rs:78
sg721_nt Store__Store 7947038 11897357 e2e/src/helpers/chain.rs:78
sg721_updatable Store__Store 9332201 13975101 e2e/src/helpers/chain.rs:78
sg_whitelist Store__Store 3710961 5543301 e2e/src/helpers/chain.rs:78
sg_whitelist_flex Store__Store 3648080 5448980 e2e/src/helpers/chain.rs:78
vending_minter Store__Store 9050725 13552887 e2e/src/helpers/chain.rs:78
vending_minter_featured Store__Store 9134718 13678877 e2e/src/helpers/chain.rs:78
vending_minter_merkle_wl Store__Store 9286623 13906734 e2e/src/helpers/chain.rs:78
vending_minter_merkle_wl_featured Store__Store 9222481 13810521 e2e/src/helpers/chain.rs:78
vending_minter_wl_flex Store__Store 9218841 13805061 e2e/src/helpers/chain.rs:78
vending_minter_wl_flex_featured Store__Store 9125384 13664876 e2e/src/helpers/chain.rs:78
whitelist_immutable Store__Store 2271029 3383403 e2e/src/helpers/chain.rs:78
whitelist_mtree Store__Store 7583110 11351460 e2e/src/helpers/chain.rs:78

@jhernandezb jhernandezb merged commit 0a82d95 into release/v3.x Apr 4, 2024
17 of 19 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants