GithubHelp home page GithubHelp logo

Remove dev mode and instant sealing mode about acala HOT 6 OPEN

xlc avatar xlc commented on June 13, 2024
Remove dev mode and instant sealing mode

from acala.

Comments (6)

xlc avatar xlc commented on June 13, 2024 2

light client is a client that verify consensus without downloading and executing all the data. chopsticks is only a mock client that it doesnโ€™t verify anything at all

chopsticks is using some code from smoldot and smoldot implements light client

from acala.

shunjizhan avatar shunjizhan commented on June 13, 2024

are we going to completely remove instant-sealing mode? I think it's still useful in some scenarios, such as large scale deterministic tests (i.e. bodhi CI). These tests don't rely on mainnet status, and are faster to run on local instant-sealing mandala node

from acala.

xlc avatar xlc commented on June 13, 2024

we can just use Chopsticks to launch a dev chain from a chain spec file.
but we can try to update existing tests to use Chopsticks before actually remove the instant sealing mode, and then we will know if there is some use cases that cannot be replaced by Chopsticks

from acala.

shunjizhan avatar shunjizhan commented on June 13, 2024

sure, we can definitely try it out to see how it goes. My main concern is that light client could slow down the whole tests a little bit. But we will see, might not be an actual issue

from acala.

xlc avatar xlc commented on June 13, 2024

there is no light client? Chopsticks is slow mostly because it need to download state from remote RPC. in this case, there are no remote RPC so it shouldn't be too slow

from acala.

shunjizhan avatar shunjizhan commented on June 13, 2024

oh chopsticks is not considered to be a "light client"? Maybe I was confused about the definition. But as long as it's fast without needs to fetch remote RPC, it should work well

from acala.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.