-
Notifications
You must be signed in to change notification settings - Fork 481
Replace input buffer with scratch buffer #129
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
Conversation
Codecov Report
@@ Coverage Diff @@
## master #129 +/- ##
=======================================
Coverage 86.44% 86.44%
=======================================
Files 60 60
Lines 4818 4818
=======================================
Hits 4165 4165
Misses 653 653Continue to review full report at Codecov.
|
Robbepop
left a comment
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.
LGTM
Can be merged as soon as all checks pass and as soon as you can demonstrate that smart contracts can be deployed and run on the latest Substrate master. Just take the Erc20 token example for that.
| } | ||
| buffer | ||
| } | ||
| read_scratch_buffer() |
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 like the simplicity of this change. 👍
|
does this means ink master no long works with substrate v1.0? |
|
@xlc correct |
|
any plan to maintain compatibility with substrate v1.0? substrate master are discouraged to use for development due to frequent breaking changes |
|
It's a good point. Just spoke to @Robbepop about this and we will look into implementing versioning when he returns. |
* [examples] fix erc20 tests * [core] ditch input buffer, read from scratch instead
Tested with examples/lang/erc20 - works.
Rel: paritytech/substrate#2911