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

Make some left methods read-only #233

Merged
merged 3 commits into from
Feb 17, 2023
Merged

Make some left methods read-only #233

merged 3 commits into from
Feb 17, 2023

Conversation

emmanuelm41
Copy link
Member

@emmanuelm41 emmanuelm41 commented Feb 17, 2023

closes #183

🔗 zboto Link

@github-actions
Copy link

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 13876529
get_claims 10692710
extend_claim_term 12013658
remove_expired_allocations 13643634
remove_expired_claims 12013658

@github-actions
Copy link

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 13876529
get_claims 10692710
extend_claim_term 12013658
remove_expired_allocations 13643634
remove_expired_claims 12013658

1 similar comment
@github-actions
Copy link

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 13876529
get_claims 10692710
extend_claim_term 12013658
remove_expired_allocations 13643634
remove_expired_claims 12013658

@emmanuelm41 emmanuelm41 merged commit 13766b4 into master Feb 17, 2023
@emmanuelm41 emmanuelm41 deleted the fix/read-only branch February 17, 2023 18:05
longfeiWan9 pushed a commit to longfeiWan9/filecoin-solidity that referenced this pull request Mar 7, 2023
* fix: make some left methods read-only

* fix: change rpc url

* fix: change node url to rpc v1
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.

Review the use of READ_ONLY_FLAG in cases we should use it
1 participant