Conversation
library/core/src/std.fe
Outdated
| @@ -0,0 +1,2 @@ | |||
| // TODO: Why is this not needed? | |||
| //use codec::{ Cursor, Encode, Decode } | |||
There was a problem hiding this comment.
Question 1:
Why is this not needed? I can call everything from the std ingot even with an empty file. So what should be defined on this file?
| // fn downcast(self) -> Option<To> // Option is in core lib, which isn't visible in lsp (see grant's PR) | ||
| } | ||
|
|
||
| pub impl IntDowncast<u8> for u256 { |
There was a problem hiding this comment.
Question 2:
In this PR I didn't include any EVM, nor Solidy specific code. Should that be maintained in a separated repo? If so, should I also remove all u256 references from the core library?
If we add them to the main repo, should I create an evm and solidity folders/ingots?
|
Question 3: Why do I have to put the path twice? |
|
Question 4: |
I've been working writing a full ERC20 example and this PR is an effort to upstream the generic interfaces and touch base on my current progress.
Added the following libraries:
HasherandHashMapStorageimplementations for creating a HashmapBufferandCursorHowever I have the following questions that I will put in separate comments for making easier follow ups