-
Notifications
You must be signed in to change notification settings - Fork 36
Handle CALL_ID == CALLER_ID not ACCT_ID #252
base: master
Are you sure you want to change the base?
Handle CALL_ID == CALLER_ID not ACCT_ID #252
Conversation
i see that the buildbot is failing. The error is |
Hey @iamchrissmith the buildbot fail happens since your a little behind master. If you rebase on top of master you should get a nice buildbot test and we can merge this |
167f8de
to
0ed666b
Compare
also, i saw this comment: Lines 45 to 46 in 0ed666b
Since i'm touching this piece of code, I'd be happy to do that here, but I wasn't sure what exactly it was referring to. LMK if I can/should add something in for that |
0ed666b
to
4c43528
Compare
There's other cases where this occurs as well. Whenever Might be a better idea to look at what the value of the |
4c43528
to
cf73ca0
Compare
Is that not what it already happening here: https://github.com/dapphub/klab/blob/master/lib/clean-evm-node.js#L5? I'm not seeing a situation in my FV |
move getting the contract to a helper function and add a condition to handle if the CALLER_ID == ACCT_ID and CALLER_ID is passed as CALL_ID
cf73ca0
to
836b26f
Compare
@MrChico Should we just set it to |
In writing the proof for DS-auth, I need to cover the condition where
CALLER_ID == ACCT_ID
this was creating a problem in displaying the results becausecall_id
wasCALLER_ID
but thev2n
object was still expectingACCT_ID
.To correct this I abstracted the getting of the contract to a helper function and added a condition to handle if the CALLER_ID == ACCT_ID and CALLER_ID is passed as CALL_ID.
Let me know if this is too narrow of a solution or would cause problems in cases outside my situation.