-
Notifications
You must be signed in to change notification settings - Fork 38
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
Validate native token transfer raw tx and signature #788
Conversation
This comment was marked as outdated.
This comment was marked as outdated.
Running integration testWorkflow Run Id: 2947452850 Components:
Manually running integration testPost a comment contains
Note:
Run Resultfailure |
Running integration testWorkflow Run Id: 2948110177 Components:
Manually running integration testPost a comment contains
Note:
Run Resultfailure |
Running integration testWorkflow Run Id: 2948956547 Components:
Manually running integration testPost a comment contains
Note:
Run Resultfailure |
Running integration testWorkflow Run Id: 2949507200 Components:
Manually running integration testPost a comment contains
Note:
Run Resultfailure |
/itest |
Running integration testWorkflow Run Id: 2953256642 Components:
Manually running integration testPost a comment contains
Note:
Run Resultfailure |
…ove polyjuice_creator_id into structs
Running integration testWorkflow Run Id: 2953676985 Components:
Manually running integration testPost a comment contains
Note:
Run Resultfailure |
Running integration testWorkflow Run Id: 2955122287 Components:
Manually running integration testPost a comment contains
Note:
Run Resultfailure |
Running integration testWorkflow Run Id: 2955495326 Components:
Manually running integration testPost a comment contains
Note:
Run Resultsuccess |
if p.is_native_transfer() { | ||
// Verify to_id is CREATOR_ID | ||
let to_id = raw_tx.to_id().unpack(); | ||
if Some(to_id) != self.polyjuice_creator_id && self.polyjuice_creator_id.is_some() { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
if polyjuice_creator_id
is None
, this check will pass? Caller must ensure polyjuice_creator_id
is Some
?
Maybe pass beckend_manage
and call utils::get_polyjuice_creator_id
if polyjuice_creator_id
is None
?
Running integration testWorkflow Run Id: 2962045709 Components:
Manually running integration testPost a comment contains
Note:
Run Resultfailure |
Running integration testWorkflow Run Id: 2962338898 Components:
Manually running integration testPost a comment contains
Note:
Run Resultsuccess |
Running integration testWorkflow Run Id: 2962477193 Components:
Manually running integration testPost a comment contains
Note:
Run Resultfailure |
Running integration testWorkflow Run Id: 2962789508 Components:
Manually running integration testPost a comment contains
Note:
Run Resultsuccess |
Running integration testWorkflow Run Id: 2963297789 Components:
Manually running integration testPost a comment contains
Note:
Run Resultsuccess |
godwokenrises/godwoken-polyjuice#173
verify_tx
for native token transfer