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

feat: load generator #190

Draft
wants to merge 11 commits into
base: main
Choose a base branch
from
Draft

Conversation

samika98
Copy link
Contributor

No description provided.

Copy link

linear bot commented Jun 24, 2024

smrz2001 and others added 10 commits July 2, 2024 13:01
* feat: make anchoring fast by default

When keramik is used to deploy CAS it is only in the context of a
hermetic testing env. Therefore we can assume that anchoring should be
as fast as possible in order to all for faster tests etc.

Makes two changes:

1. Reduces worker delay to 1s instead of 1m after completing a batch.
2. Configures ganache to instantly mine any transaction.

* tests
* feat: expose c1 migration cmds

* chore: build fixes

* fix: use list of args for migration_cmd

* fix: tests

---------

Co-authored-by: Nathaniel Cook <[email protected]>
Using the instamine option of ganache confuses the CAS worker and it
waits forever to see the transaction has been mined. This change uses a
block time of 1 second, however in practice this appears to mean a block
every 15 seconds. Faster than once a minute but still not very fast.
* chore: update ceramic one swarm port to 4101 and rpc port to 5101

* chore: update CAS ipfs ports as well

also renamed some constants

* chore: fmt
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 participants