Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Backport optimisations for v1.21.0 as Lotus team agreed on standup #10593

Closed
wants to merge 3 commits into from

Commits on Mar 29, 2023

  1. perf: eth: gas estimate set applyTsMessages false (#10546)

    * have gas estimate call callInternal with applyTsMessages = false and other calls with applyTsMessages=true for gas caclulation optimization
    
    * set applyTsMessages = true in CallWithGas call in shed
    
    * update test with new callwithgas api optimization for eth call
    
    * Update chain/stmgr/call.go
    
    Co-authored-by: Łukasz Magiera <magik6k@users.noreply.github.com>
    
    * env flag LOTUS_SKIP_APPLY_TS_MESSAGE_CALL_WITH_GAS must be 1 in order to have applyTsMessages change
    
    * env flag LOTUS_SKIP_APPLY_TS_MESSAGE_CALL_WITH_GAS must be 1 in order to have applyTsMessages change
    
    * make sure that even if we arent apply ts messages we grab ts messages from the particular user who is requesting gas estimation
    
    ---------
    
    Co-authored-by: Jiaying Wang <42981373+jennijuju@users.noreply.github.com>
    Co-authored-by: Łukasz Magiera <magik6k@users.noreply.github.com>
    Co-authored-by: Ubuntu <ubuntu@ip-10-0-4-29.us-east-2.compute.internal>
    4 people authored and maciejwitowski committed Mar 29, 2023
    Configuration menu
    Copy the full SHA
    ea7e9b3 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    6070bd8 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    c50c31e View commit details
    Browse the repository at this point in the history