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

add avail setup/template for chess #82

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

ecioppettini
Copy link

I'm not really sure what to do with this exactly, so for now this is mostly just an example of the setup.

The options I see:

  1. We somehow enable using the avail base funnel in some of the existing templates (like this does with chess, but some extra things are needed).
  2. We set an entire new template. In that case I'm not sure what should be the contents. Some simple page to be able to submit some inputs?

And then there is the case of the parallel funnel, the example configuration here is only for the base funnel, since it's what I've been using to test the batcher (with chess). Not sure if we should have an example of evm + avail too (and which one).

I should mention that with the latest batcher this doesn't work anymore. Submissions go through, but the frontend always times out before that. I think this is because now the batcher waits for finalization, instead of only inclusion. That said, this may be just an issue of the template not handling the mqtt events yet.

How to use this:

  1. Copy config.avail-localhost.yml and env.avail-localhost to the root directory.
  2. Rename those to config.localhost.yml and .env.localhost. Or set NETWORK=avail-localhost.
  3. Run npm run chain:start:avail inside chess.

This will take awhile the first time, since the node is built from source. The reason for this is that I wanted to be able to have the fast-runtime feature for faster blocks, since it's much more nicer to test. I think this is probably fine since then the container can be re-used.

The network is temporary, there are no volumes (like it works right now with hardhat).

  1. Run the engine.
  2. Run the batcher.

@ecioppettini ecioppettini added the question Further information is requested label Aug 2, 2024
@ecioppettini ecioppettini self-assigned this Aug 2, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant