Skip to content
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

types, notes, etc. (WIP) #48

Closed
wants to merge 29 commits into from

Conversation

dckc
Copy link
Collaborator

@dckc dckc commented Apr 11, 2024

I meant to try running the contract on a blockchain, but there's no core-eval script... and making one is complicated by #47 .

So I looked over test-airdrop.js and the contract, using static typing as a guide.

I pruned a bunch of code that seems irrelevant.

I'm not sure how much of this you might want to actually merge, @tgrecojs .

I cleaned up the xsnap dependency.
fixes #45

I test.skipped non-working tests, so...
fixes #46

dckc added 29 commits April 11, 2024 00:38
delete it? or is it used in tests?
build just 1 xsnap, and don't clone the whole git history
why 2 objectTools?

getWindowLength and getTokenQuantity are not generic object tools;
they're specific to EpochDetails; why are they here?
is this needed? it's probably best
we have constants for stuff like ONE_THOUSAND where the
literal is at least as clear, but not for 86_400n?
(is that 1 day? 10 days?)
@tgrecojs tgrecojs mentioned this pull request Apr 15, 2024
@dckc
Copy link
Collaborator Author

dckc commented May 31, 2024

seems like this is overtaken by events, esp. #49

@dckc dckc closed this May 31, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 tests failed; 6 uncaught exceptions from yarn test build 2 xsnap versions
1 participant