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

call validate caller #379

Merged
merged 1 commit into from
May 14, 2020
Merged

call validate caller #379

merged 1 commit into from
May 14, 2020

Conversation

whyrusleeping
Copy link
Member

No description provided.

@whyrusleeping whyrusleeping requested review from anorth and zixuanzh May 14, 2020 01:36
@@ -90,6 +90,7 @@ func (a Actor) AddVerifiedClient(rt vmr.Runtime, params *AddVerifiedClientParams
if params.Allowance.LessThanEqual(MinVerifiedDealSize) {
rt.Abortf(exitcode.ErrIllegalArgument, "Allowance %d below MinVerifiedDealSize for add verified client %v", params.Allowance, params.Address)
}
rt.ValidateImmediateCallerAcceptAny()
Copy link
Collaborator

Choose a reason for hiding this comment

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

this looks like a temporary fix for launch but caller verification should be moved up from L99-104, thanks!

Copy link
Member Author

Choose a reason for hiding this comment

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

@zixuanzh unfortunately that doesnt count as 'caller validation' for the purposes of the runtime. Its some weird restriction the spec team wants here.

@whyrusleeping whyrusleeping merged commit eac38c1 into master May 14, 2020
@whyrusleeping whyrusleeping deleted the fix/verified-data-register branch May 15, 2020 18:08
aarshkshah1992 pushed a commit that referenced this pull request Jun 29, 2020
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.

3 participants