-
Notifications
You must be signed in to change notification settings - Fork 79
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
core: add System.Contract.CreateMultisigAccount #1763
Conversation
Codecov Report
@@ Coverage Diff @@
## master #1763 +/- ##
==========================================
+ Coverage 82.61% 82.69% +0.07%
==========================================
Files 271 271
Lines 22140 22155 +15
==========================================
+ Hits 18290 18320 +30
+ Misses 2725 2711 -14
+ Partials 1125 1124 -1
Continue to review full report at Codecov.
|
2394acb
to
b85d4ee
Compare
@@ -43,6 +43,7 @@ var systemInterops = []interop.Function{ | |||
{Name: interopnames.SystemContractCall, Func: contract.Call, Price: 1 << 15, | |||
RequiredFlags: callflag.AllowCall, ParamCount: 4}, | |||
{Name: interopnames.SystemContractCallNative, Func: native.Call, Price: 0, ParamCount: 1}, | |||
{Name: interopnames.SystemContractCreateMultisigAccount, Func: contractCreateMultisigAccount, Price: 1 << 8, ParamCount: 1}, |
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.
I think it is should be a bit more expensive that Standard
equivalent. 1 << 9
?
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.
In C# node the price is 1<<8
, but I also thought about it. Create an issue?
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.
Prices are not that important for us though key decoding is not free and it there can be a lot of keys there, so fair price relative to Standard is probably higher.
b85d4ee
to
ed426c0
Compare
ed426c0
to
9fc9fc8
Compare
9fc9fc8
to
c82b11e
Compare
Close #1576.