Skip to content
This repository has been archived by the owner on Aug 29, 2023. It is now read-only.

More improvements and cleaning on the code #349

Merged
merged 3 commits into from
Mar 7, 2023
Merged

More improvements and cleaning on the code #349

merged 3 commits into from
Mar 7, 2023

Conversation

emmanuelm41
Copy link
Member

@emmanuelm41 emmanuelm41 commented Mar 7, 2023

  • uniform some error handling
  • fix allowance field type on VerifReg

馃敆 zboto Link

@emmanuelm41 emmanuelm41 changed the title Fix/misc More improvements and cleaning on the code Mar 7, 2023
@github-actions
Copy link

github-actions bot commented Mar 7, 2023

Gas results 馃殌馃摑

Account actor

Function Gas
authenticate_message 25501525
universal_receiver_hook 4966203

Miner actor

Function Gas
change_owner_address 7511072
get_beneficiary 9937739
change_beneficiary 8826921
get_owner 7466084
get_available_balance 5953340
get_vesting_funds 6143760
repay_debt 6397335
confirm_change_worker_address 6292257
get_peer_id 6583809
get_multiaddresses 7101703
change_worker_address 8978055
is_controlling_address 6561214
get_sector_size 5858479
change_multiaddresses 8096089
change_peer_id 7672221
withdraw_balance 8498529

Datacap actor

Function Gas
name 5710553
symbol 5463973
total_supply 7476746
balance 6698931
allowance 7836239
transfer 17425251
transfer_from 25143913
burn 10922050
burn_from 18079133
allowance 11124090
increase_allowance 13839162
decrease_allowance 13831163
revoke_allowance 12386899

Market actor

Function Gas
publish_storage_deals 49589267
add_balance 7655430
withdraw_balance 10434127
get_balance 11834328
get_deal_data_commitment 10905005
get_deal_client 6191713
get_deal_provider 6188217
get_deal_label 11258390
get_deal_term 6900098
get_deal_total_price 8274833
get_deal_client_collateral 8090083
get_deal_provider_collateral 8085603
get_deal_verified 6108323
get_deal_activation 6944542

Power actor

Function Gas
miner_count 4818632
network_raw_power 5259062
miner_raw_power 6767916
miner_consensus_count 4832736

Precompiles actor

Function Gas
resolve_address 2473203
lookup_delegated_address (empty response) 2296266
lookup_delegated_address (address found) 2383270
resolve_eth_address 2406689

Send actor

Function Gas
send (actor id) 3304521
send (address) 3618845

Verifreg actor

Function Gas
add_verified_client 13870663
get_claims 10122455
extend_claim_term 11520259
remove_expired_allocations 13050715
remove_expired_claims 11520259

@emmanuelm41 emmanuelm41 merged commit e9a9700 into master Mar 7, 2023
@emmanuelm41 emmanuelm41 deleted the fix/misc branch March 7, 2023 18:21
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant