Zondax / filecoin-solidity

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

Remove universal hook for verifreg as it cant be called successfully #299

Closed rllola closed 1 year ago

rllola commented 1 year ago

closes #127;

:link: zboto Link

github-actions[bot] commented 1 year ago

Gas results 🚀📝

Account actor

Function Gas
authenticate_message 25469880
universal_receiver_hook 5175997

Datacap actor

Function Gas
name 5930665
symbol 5676997
total_supply 7703863
balance 6851042
allowance 7913119
transfer 17560471
transfer_from 25211415
burn 11300899
burn_from 18195816
allowance 11197603
increase_allowance 13957592
decrease_allowance 13960789
revoke_allowance 12593912

Init actor

Function Gas
exec 19742990
exec4 6909793

Market actor

Function Gas
publish_storage_deals 49365209
add_balance 7865801
withdraw_balance 10704510
get_balance 12029867
get_deal_data_commitment 11169729
get_deal_client 6518821
get_deal_provider 6515325
get_deal_label 11375235
get_deal_term 7085590
get_deal_total_price 8635411
get_deal_client_collateral 8443558
get_deal_provider_collateral 8449738
get_deal_verified 6428395
get_deal_activation 7130034

Power actor

Function Gas
miner_count 5059398
network_raw_power 5499996
miner_raw_power 7005362
miner_consensus_count 5069946

Precompiles actor

Function Gas
resolve_address 2411070
lookup_delegated_address (empty response) 2328771
lookup_delegated_address (address found) 2415775
resolve_eth_address 2439194

Send actor

Function Gas
send (actor id) 3653196
send (address) 3653196

Verifreg actor

Function Gas
add_verified_client 13501979
get_claims 10296442
extend_claim_term 11617390
remove_expired_allocations 13247366
remove_expired_claims 11617390