-
Notifications
You must be signed in to change notification settings - Fork 36
Conversation
Hi @GrandSchtroumpf, great initial work, thanks so much, also cool to see the tests already passing! 👍 We can leave this open for some time for some further tooling discussion and for improvements from other PRs integrated here, seen that @krzkaczor has already started with #38. |
Probably a linting update PR (we had a strong tendency for Prettier for this) can also be done by @krzkaczor, so that tests are passing? |
remove build artifacts from git
Some addition to using TypeScript But we can very much see how this is turning out on practical experiences and then decide how to proceed library-by-library. |
@holgerd77 yeah i think thats a valid point but this is very small lib so i guess it wasn't difficult to do it at one go. |
@krzkaczor Whew, that was a quick merge! 😄 We can do this for non-master branch related merges. Just want to make sure and for others to note: this is not setting things in stone, just providing a more unified ground for further discussion (if needed). |
rewrote tests to typescript, improved typings
@GrandSchtroumpf Do you think you'll find some time today or tomorrow to answer the comments here from @krzkaczor? Then we maybe can have this adopted or finalized. |
Tomorrow yes. |
@GrandSchtroumpf I think you should generally remove (by rebase) your last commit, otherwise it will get super-messy for @krzkaczor to rebase on top of this (@krzkaczor: please correct me if I am wrong). Can you just copy-paste your #35 issue fixing changes to somewhere, delete the last commit and then resubmit (without the semicolon changes, this is already introduced in the PR form Chris) as a separate PR? |
Once you are ready please also push-force ( |
ca6b7d1
to
d1272cc
Compare
Since we are slowly getting to some common ground on configuration and setting? Do you guys think it is viable to have some of this configuration extracted to an external dependency - How would this work regarding the integration and what config parts would be applicable to that? Do you have any example where this is done in practice and/or some article link on this? |
@krzkaczor Very cool, have set up the following repo: If you are doing a PR on this that would be great, then we could further discuss along the design choices made within the PR! |
@holgerd77 yeaah... I know, I think I'm a bit obsessed too ^^. |
Kk/config export
remove custom util functions, use already existing ones
For now added some coverage thresholds for failure (85% absolute, -2.5% relative), so that CI should pass on next trigger. |
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 would give this a go. Before we merge I think @GrandSchtroumpf and/or @whymarrh should also have a final look and we should wait for at least one more approval.
remove standard code style bardge, normalize headers in readme
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.
Update review after latest documentation merge, looks good.
@GrandSchtroumpf @whymarrh Can you also have a final look so that we can get this over the finish line? 😄
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.
There are a few deprecated utils used here but we can remove those separately.
@GrandSchtroumpf @krzkaczor @holgerd77 this is great work! 👏🏽👏🏽👏🏽
Merged. 😄 |
Add :
tsconfig.json
.package.json
:@types/node
+@types/bn.js
.test/index.js
: change RLP directory todist/index.js
.TODO:
yarn
README
BigNumber
imports SKIPPED (note by @krzkaczor) so current typings are pretty shitty and they forces us to use it in this way. We could fork/create our package. I already done so in evm-ts. This allows to use normal syntax for import. I would say it's low priority for now 🤷♂️ )