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

tiny tweaks #30

Merged
merged 6 commits into from
Apr 1, 2024
Merged

tiny tweaks #30

merged 6 commits into from
Apr 1, 2024

Conversation

harrysolovay
Copy link
Contributor

@harrysolovay harrysolovay commented Mar 30, 2024

This PR was initially going to introduce changes to testing / use the lightnet instead of the o1js in-mem devnet (see #26). Unfortunately, it was far too slow. For the sake of development velocity, we'll stick with the in-mem devnet for now.

This PR now contains misc. tiny tweaks (such as specifying fee in txs).

@harrysolovay harrysolovay mentioned this pull request Mar 31, 2024
@harrysolovay
Copy link
Contributor Author

@qwadratic any idea why the insufficient fee errors (both local and in CI)? The lightnet's test account manager is supposed to vend pre-funded accounts... hence I don't think this error should be occurring (?). Additionally, proof level is configured to none, yet additional errors crop up when contract compiles aren't called. Any suggestions?

@harrysolovay
Copy link
Contributor Author

So strange: the vended genesis accounts appear not to exist when queried with o1js.

const deployer = await Lightnet.acquireKeyPair();

Mina.hasAccount(deployer.publicKey) // false

However, they do seem to exist when queried through the lightnet's GraphQL playground.

@harrysolovay harrysolovay marked this pull request as ready for review April 1, 2024 14:06
@harrysolovay harrysolovay changed the title integrate with Lightnet tiny tweaks Apr 1, 2024
@harrysolovay harrysolovay merged commit c9c1bd7 into main Apr 1, 2024
3 checks passed
@harrysolovay harrysolovay deleted the lightnet branch April 1, 2024 14:06
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.

1 participant