Zondax / filecoin-solidity

Filecoin Solidity API Library
Apache License 2.0
94 stars 43 forks source link

feat: publish gas result on PR as a comment #222

Closed rllola closed 1 year ago

rllola commented 1 year ago

:link: zboto Link

github-actions[bot] commented 1 year ago

Gas results 🚀📝: test

github-actions[bot] commented 1 year ago

Gas results 🚀📝

Account actor

Datacap actor

github-actions[bot] commented 1 year ago

Gas results 🚀📝

github-actions[bot] commented 1 year ago

Gas results 🚀📝

Account actor

Function Gas
authenticate_message 26007600
authenticate_message (actor ID) 25521317
universal_receiver_hook 5696983
universal_receiver_hook (actor ID) 5266744

Datacap actor

Function Gas
name 6189505
symbol 5935837
total_supply 7962703
balance 7109654
allowance 8171603
transfer 17819083
transfer_from 25470051
burn 11559511
burn_from 18454300
allowance 11456215
increase_allowance 14216076
decrease_allowance 14219273
revoke_allowance 12852524
github-actions[bot] commented 1 year ago

Gas results 🚀📝

Account actor

Function Gas
authenticate_message 26007600
authenticate_message (actor ID) 25521317
universal_receiver_hook 5696983
universal_receiver_hook (actor ID) 5266744

Datacap actor

Function Gas
name 6189505
symbol 5935837
total_supply 7962703
balance 7109654
allowance 8171603
transfer 17819083
transfer_from 25470051
burn 11559511
burn_from 18454300
allowance 11456215
increase_allowance 14216076
decrease_allowance 14219273
revoke_allowance 12852524

Init actor

Function Gas
exec 19957669
exec4 7129273

Market actor

Function Gas
add_balance 8148792
withdraw_balance 10971665
get_balance 12305179
get_deal_data_commitment 11444652
get_deal_client 6793720
get_deal_provider 6790224
get_deal_label 11650159
get_deal_term 7360489
get_deal_total_price 8910311
get_deal_client_collateral 8718457
get_deal_provider_collateral 8724637
get_deal_verified 6703294
get_deal_activation 7404933
publish_storage_deals 3090715

Multisig actor

Function Gas
propose 2875171
add_signer 6476021

Power actor

Function Gas
miner_count 5303062
network_raw_power 5743660
miner_raw_power 7248798
miner_consensus_count 5313610

Precompiles actor

Function Gas
resolve_address 2463897
lookup_delegated_address (empty response) 2385154
lookup_delegated_address (address found) 2472158
get_ripemd160_hash 2485746
resolve_eth_address 2584337

Send actor

Function Gas
send 3881668

Verifreg actor

Function Gas
add_verified_client 13874343
get_claims 10691504
extend_claim_term 12011472
remove_expired_allocations 13641447
remove_expired_claims 12011472