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

refactor: polish GetActorCodeFunc #1089

Merged
merged 4 commits into from
Nov 16, 2022

Conversation

frrist
Copy link
Member

@frrist frrist commented Nov 15, 2022

No description provided.

Copy link
Contributor

@birdychang birdychang left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for the refactor. I noticed in stateTree.GetActor(), it's doing similar lookup logic. Do we still need the extra ResolveAddress here?

@frrist
Copy link
Member Author

frrist commented Nov 16, 2022

oooOOo good catch, will remove that call, merge this into your branch, and then move onto the master.

@codecov-commenter
Copy link

Codecov Report

Merging #1089 (f464223) into birdy/remote-actor-code-map (3fd6c26) will not change coverage.
The diff coverage is n/a.

Additional details and impacted files
@@                     Coverage Diff                     @@
##           birdy/remote-actor-code-map   #1089   +/-   ##
===========================================================
  Coverage                         34.3%   34.3%           
===========================================================
  Files                               44      44           
  Lines                             2932    2932           
===========================================================
  Hits                              1008    1008           
  Misses                            1828    1828           
  Partials                            96      96           

@frrist frrist merged this pull request into birdy/remote-actor-code-map Nov 16, 2022
@frrist frrist deleted the frrist/polish-actor-code-map branch November 16, 2022 21:20
frrist added a commit that referenced this pull request Nov 16, 2022
* refactor: polish GetActorCodeFunc
  - remove address resolution, its handled by lotus internally via state.GetActor
birdychang added a commit that referenced this pull request Nov 17, 2022
* fix: remove actor code mapping

* Remov unused vars.

* refactor: polish GetActorCodeFunc (#1089)

* refactor: polish GetActorCodeFunc
  - remove address resolution, its handled by lotus internally via state.GetActor

Co-authored-by: Frrist <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants