You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
sim-chain is a function that we used to have to run the chain without agd but now we use agd and Docker liberally. (See #9480 (comment) )
We've removed it from user docs but it has remnants in code. These create complexity and increase costs of code maintenance. There are too many things not implemented, and not simulated. There's also been some confusion about what parts are supposed to still work.
Testing of JS cosmic swingset should likely use a fake/mock chain that I would personally consider a sim chain on steroids. It would implement mocks of vstorage and other cosmos modules.
refs: #9725
## Description
On the path to,
- #9725
Remove concessions in SwingSet to `@agoric/cosmic-swingset/src/sim-chain.js` by requiring a bridgeDevice.
Since `sim-chain` is no longer supported, we remove the ability to use it from `@agoric/solo`. This makes several of the tests in `@agoric/solo` fail, so we skip those that relied on `sim-chain`, while continuing to test the `ag-solo` basic functionality. We don't remove `@agoric/solo` because it serves as an example of a non-chain SwingSet application, and @michaelfig would like to refactor it into a configuration of a general `agvm` program.
### Security Considerations
none
### Scaling Considerations
none
### Documentation Considerations
none
### Testing Considerations
CI suffices
### Upgrade Considerations
On-chain uses always provide a bridge device. This does affect line numbers. It will go out with the next kernel upgrade.
What is the Problem Being Solved?
sim-chain is a function that we used to have to run the chain without
agd
but now we useagd
and Docker liberally. (See #9480 (comment) )We've removed it from user docs but it has remnants in code. These create complexity and increase costs of code maintenance. There are too many things not implemented, and not simulated. There's also been some confusion about what parts are supposed to still work.
Description of the Design
Remove all references to
sim-chain
.@mhofman writes,
Related:
Security Considerations
Scaling Considerations
Test Plan
Upgrade Considerations
The text was updated successfully, but these errors were encountered: