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
Adds crypto smart tokens and extends the smart contract model #2462
Conversation
Codecov Report
@@ Coverage Diff @@
## master #2462 +/- ##
==========================================
- Coverage 97.16% 97.04% -0.12%
==========================================
Files 194 194
Lines 36098 36098
==========================================
- Hits 35076 35033 -43
- Misses 1022 1065 +43
Flags with carried forward coverage won't be shown. Click here to find out more.
Continue to review full report at Codecov.
|
]''') | ||
self.len(1, nodes) | ||
node = nodes[0] | ||
self.eq(node.get('coin'), 'btc') | ||
self.eq(node.get('offset'), 12345) | ||
self.eq(node.get('hash'), '0x01020304') | ||
self.eq(node.get('time'), 1638230400000) | ||
|
||
nodes = await core.nodes(''' | ||
[ | ||
crypto:smart:contract=* | ||
:transaction=* | ||
:bytecode=$input | ||
:address = (btc, 1BvBMSEYstWetqTFn5Au4m4GFg7xJaNVN2) |
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 don't think 'btc' has smart contracts, 'eth' may be a better example.
No description provided.