Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Description
This PR fixes the issue with publishing the kread bundles. To fix it
agoric published
has been replaced by theinstallBundles
script in theagoric/contract/scripts/
folder. The script connects to the chain using Cosmos StargateClient library and sends a transaction to the correct endpoint with the bundle as payload. This is along the lines of what happens under the hood ofagoric publish
as well but for some reason that seems to be broken currently.For funding the gas fees of the transaction, the same account is used that funds the transactions to publish the committee bundles and sends proposals for the kread-committee and kread.
Also, in this PR:
make kread-committee
(and no-build version) that fetches the address that is to be funded from theAGORIC_SDK_PATH/packages/cosmic-swingset/t1/8000/
folder and funds it. This way we no longer need to runkread-committee
, copy the logged address and fund it.src
instead of the versioned folder structere.Related Issues
Fixes #111
Checklist
Make sure all items are checked before submitting the pull request. Remove any items that are not applicable.