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

unvendor dependencies and improve deal label field #323

Merged
merged 3 commits into from
Feb 28, 2023
Merged

Conversation

emmanuelm41
Copy link
Member

@emmanuelm41 emmanuelm41 commented Feb 28, 2023

closes #322
closes #318

🔗 zboto Link

@github-actions
Copy link

Gas results 🚀📝

Account actor

Function Gas
authenticate_message 25096340
universal_receiver_hook 4819657

Miner actor

Function Gas
change_owner_address 7430067
get_beneficiary 9798400
change_beneficiary 8729455
get_owner 7407273
get_available_balance 5880678
get_vesting_funds 6084310
repay_debt 6324307
confirm_change_worker_address 6233445
get_peer_id 6518574
get_multiaddresses 7042892
change_worker_address 8915185
is_controlling_address 6504711
get_sector_size 5795585
change_multiaddresses 8029247
change_peer_id 7605371
withdraw_balance 8443653

Datacap actor

Function Gas
name 5700932
symbol 5454368
total_supply 7467125
balance 6689343
allowance 7826634
transfer 17419615
transfer_from 25138261
burn 10912429
burn_from 18069512
allowance 11114485
increase_allowance 13829541
decrease_allowance 13821574
revoke_allowance 12377311

Init actor

Function Gas
exec 19750106
exec4 6769105

Market actor

Function Gas
publish_storage_deals 49711561
add_balance 7644529
withdraw_balance 10426774
get_balance 11826975
get_deal_data_commitment 10897653
get_deal_client 6184360
get_deal_provider 6180864
get_deal_label 10995124
get_deal_term 6813273
get_deal_total_price 8267480
get_deal_client_collateral 8082731
get_deal_provider_collateral 8078251
get_deal_verified 6100970
get_deal_activation 6857717

Power actor

Function Gas
miner_count 4792276
network_raw_power 5232706
miner_raw_power 6741576
miner_consensus_count 4806380

Precompiles actor

Function Gas
resolve_address 2512481
lookup_delegated_address (empty response) 2335544
lookup_delegated_address (address found) 2422548
resolve_eth_address 2445967

Send actor

Function Gas
send (actor id) 3276558
send (address) 3590862

Verifreg actor

Function Gas
add_verified_client 13285636
get_claims 10045493
extend_claim_term 11443297
remove_expired_allocations 12981689
remove_expired_claims 11443297

@github-actions
Copy link

Gas results 🚀📝

Account actor

Function Gas
authenticate_message 25095220
universal_receiver_hook 4818537

Miner actor

Function Gas
change_owner_address 7430359
get_beneficiary 9798692
change_beneficiary 8729747
get_owner 7407565
get_available_balance 5880970
get_vesting_funds 6084602
repay_debt 6324599
confirm_change_worker_address 6233737
get_peer_id 6518866
get_multiaddresses 7043184
change_worker_address 8915477
is_controlling_address 6505003
get_sector_size 5795877
change_multiaddresses 8029539
change_peer_id 7605663
withdraw_balance 8443945

Datacap actor

Function Gas
name 5700372
symbol 5453808
total_supply 7466565
balance 6688783
allowance 7826074
transfer 17419055
transfer_from 25137701
burn 10911869
burn_from 18068952
allowance 11113925
increase_allowance 13828981
decrease_allowance 13821014
revoke_allowance 12376751

Init actor

Function Gas
exec 19749730
exec4 6768729

Market actor

Function Gas
publish_storage_deals 49704418
add_balance 7643670
withdraw_balance 10425915
get_balance 11826116
get_deal_data_commitment 10896793
get_deal_client 6183501
get_deal_provider 6180005
get_deal_label 10994265
get_deal_term 6812414
get_deal_total_price 8266621
get_deal_client_collateral 8081871
get_deal_provider_collateral 8077391
get_deal_verified 6100111
get_deal_activation 6856858

Power actor

Function Gas
miner_count 4792492
network_raw_power 5232922
miner_raw_power 6741792
miner_consensus_count 4806596

Precompiles actor

Function Gas
resolve_address 2512749
lookup_delegated_address (empty response) 2335812
lookup_delegated_address (address found) 2422816
resolve_eth_address 2446235

Send actor

Function Gas
send (actor id) 3276586
send (address) 3590890

Verifreg actor

Function Gas
add_verified_client 13285796
get_claims 10045653
extend_claim_term 11443457
remove_expired_allocations 12981849
remove_expired_claims 11443457

@emmanuelm41 emmanuelm41 merged commit 2e0775e into master Feb 28, 2023
@emmanuelm41 emmanuelm41 deleted the fix/unvendor branch February 28, 2023 14:49
longfeiWan9 pushed a commit to longfeiWan9/filecoin-solidity that referenced this pull request Mar 7, 2023
* fix: unvendor dependencies

* fix: simplify logic

* chore: add some inline extra comments
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.

Unvendoring dependencies Deal Proposal struct label field type needs to mirror whats in the protocol
1 participant