public-awesome / launchpad

Stargaze NFT and Launchpad smart contracts
Apache License 2.0
79 stars 38 forks source link

Add whitelist compatibility to open/limited edition minter #669

Closed MightOfOaks closed 7 months ago

github-actions[bot] commented 8 months ago

Cosm-Orc Gas Usage

Contract Op Name Gas Used Old Gas Used Gas Diff File
minter Execute__minter_exec_mint_to_token 392042 365553 +7.2463% e2e/src/tests/open_edition_minter_executes_tests.rs:182
multiple_contracts Execute__minter_batch_exec_mint_token 3187258 3158376 +0.9145% e2e/src/tests/open_edition_factory_and_mint_tests.rs:280
open_edition_factory Store__Store 3817366 3506900 +8.8530% e2e/src/helpers/chain.rs:78
vending_factory Store__Store 3408347 3082476 +10.5717% 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 9078636 8700070 +4.3513% 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 8983749 8886444 +1.0950% e2e/src/helpers/chain.rs:78
sg721_nt Store__Store 7947246 7842375 +1.3372% e2e/src/helpers/chain.rs:78
sg721_updatable Store__Store 9332175 9204723 +1.3846% e2e/src/helpers/chain.rs:78
sg_whitelist Store__Store 3711208 3599317 +3.1087% e2e/src/helpers/chain.rs:78
sg_whitelist_flex Store__Store 3648262 3528506 +3.3940% e2e/src/helpers/chain.rs:78
vending_minter Store__Store 9022424 8892840 +1.4572% e2e/src/helpers/chain.rs:78
vending_minter_merkle_wl Store__Store 9270919 9138800 +1.4457% e2e/src/helpers/chain.rs:78
vending_minter_wl_flex Store__Store 9202084 9075906 +1.3903% e2e/src/helpers/chain.rs:78
whitelist_immutable Store__Store 2271029 2206354 +2.9313% e2e/src/helpers/chain.rs:78
whitelist_mtree Store__Store 7161494 7025364 +1.9377% e2e/src/helpers/chain.rs:78
Raw Report for f2a139aeada7de3e3cbb2a3d9aa5325d2efe8464
| Contract | Op Name | Gas Used | Gas Wanted | File | | --- | --- | --- | --- | --- | | minter | Execute__minter_exec_mint_to_token | 392042 | 564939 | e2e/src/tests/open_edition_minter_executes_tests.rs:182 | | minter | Execute__minter_exec_purge | 140293 | 187373 | e2e/src/tests/open_edition_minter_executes_tests.rs:286 | | minter | Execute__minter_exec_update_per_addr_limit | 210474 | 292592 | e2e/src/tests/open_edition_minter_executes_tests.rs:221 | | minter | Execute__minter_exec_update_trading_time | 271581 | 384249 | e2e/src/tests/open_edition_minter_executes_tests.rs:101 | | multiple_contracts | Execute__minter_batch_exec_mint_token | 3187258 | 4758014 | e2e/src/tests/open_edition_factory_and_mint_tests.rs:280 | | multiple_contracts | Execute__minter_batch_exec_mint_token_w_trading_time | 1953685 | 2886948 | e2e/src/tests/factory_test.rs:314 | | open_edition_factory | Execute__factory_exec_minter_inst | 548767 | 800025 | e2e/src/tests/open_edition_factory_and_mint_tests.rs:210 | | open_edition_factory | Instantiate__factory_inst | 188659 | 259872 | e2e/src/helpers/open_edition_minter_helpers.rs:39 | | open_edition_factory | Execute__factory_exec_minter_inst_w_trading_time | 549482 | 801098 | e2e/src/tests/open_edition_factory_and_mint_tests.rs:417 | | open_edition_factory | Store__Store | 3817366 | 5702909 | e2e/src/helpers/chain.rs:78 | | vending_factory | Instantiate__factory_inst | 187195 | 257724 | e2e/src/helpers/helper.rs:35 | | vending_factory | Store__Store | 3408347 | 5089380 | e2e/src/helpers/chain.rs:78 | | vending_factory | Execute__factory_exec_minter_inst_w_trading_time | 3858641 | 5764766 | e2e/src/tests/factory_test.rs:244 | | vending_factory | Execute__factory_exec_minter_inst | 34037879 | 51033620 | e2e/src/tests/factory_test.rs:98 | | 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 | 9078636 | 13594754 | e2e/src/helpers/chain.rs:78 | | open_edition_minter_wl_flex | Store__Store | 9135056 | 13679384 | e2e/src/helpers/chain.rs:78 | | sg721_base | Store__Store | 8525902 | 12765653 | e2e/src/helpers/chain.rs:78 | | sg721_metadata_onchain | Store__Store | 8983749 | 13452423 | e2e/src/helpers/chain.rs:78 | | sg721_nt | Store__Store | 7947246 | 11897669 | e2e/src/helpers/chain.rs:78 | | sg721_updatable | Store__Store | 9332175 | 13975062 | e2e/src/helpers/chain.rs:78 | | sg_whitelist | Store__Store | 3711208 | 5543672 | e2e/src/helpers/chain.rs:78 | | sg_whitelist_flex | Store__Store | 3648262 | 5449253 | e2e/src/helpers/chain.rs:78 | | vending_minter | Store__Store | 9022424 | 13510436 | e2e/src/helpers/chain.rs:78 | | vending_minter_featured | Store__Store | 9105780 | 13635470 | e2e/src/helpers/chain.rs:78 | | vending_minter_merkle_wl | Store__Store | 9270919 | 13883178 | e2e/src/helpers/chain.rs:78 | | vending_minter_wl_flex | Store__Store | 9202084 | 13779926 | e2e/src/helpers/chain.rs:78 | | vending_minter_wl_flex_featured | Store__Store | 9119469 | 13656003 | e2e/src/helpers/chain.rs:78 | | whitelist_immutable | Store__Store | 2271029 | 3383403 | e2e/src/helpers/chain.rs:78 | | whitelist_mtree | Store__Store | 7161494 | 10719036 | e2e/src/helpers/chain.rs:78 |