-
Notifications
You must be signed in to change notification settings - Fork 8
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
contract deployment process working #3
Conversation
…AccountKit: no function
Installation & Start function Success:
Vstorage showing the instance is live:
had to comment out this, but adding it back: import { prepareCosmosOrchestrationAccountKit, prepareCosmosOrchestrationAccount } from '@agoric/orchestration/src/exos/cosmosOrchestrationAccount.js';
const makeStakingAccountKit = prepareCosmosOrchestrationAccountKit(
baggage,
makeRecorderKit,
zcf,
); |
Note for reference: Whenever I comment back in: import { prepareCosmosOrchestrationAccountKit } from '@agoric/orchestration/src/exos/cosmosOrchestrationAccount.js';
...
const makeStakingAccountKit = prepareCosmosOrchestrationAccountKit(
baggage,
makeRecorderKit,
zcf,
); I get:
Started using version: |
- for @agoric/X, use @dev - for @endo/X etc., check `yarn why` in agoric-sdk
|
- avoid import from @agoric/internal
to avoid bringing in all of ERTP bundle size before: 905582; after: 709624 (Sum of file sizes)
solving these failed tests:
|
contract accepts offers from UI to make accounts. Must pass real
|
back to hunting this down after that last change, but we moved the
and also ready added M.promise @dckc : const publicFacet = zone.exo(
'OrcaFacet',
M.interface('OrcaFacet', {
makeAccountInvitation: M.call().returns(M.promise()),
}),
{
async makeAccountInvitation() {
const invitation = await zcf.makeInvitation(
createAccounts,
'Create accounts',
undefined,
harden({
give: {},
want: {},
exit: M.any(),
}),
);
// return Promise.resolve(invitation);
return invitation;
// return M.promise()
},
},
); |
- reset instance before producing - lint - console.log -> trace - trace localchain promise as well as orchestration - factor out logp() - prune unused code: brand, issuer powers; issuerNames - prune chainHub stuff (doesn't belong in core-eval code)
- no resolutions - dev versions (resolved to specific versions in yarn.lock)
build(ui): deps += @interchain-ui/react
use latest dev pkgs; restore test-orca-contract.js test to working order
merge fix - dc utest2
I assume this is obsolete in favor of #10 |
contract deployment working
todo: fix contract start function error:
failing here: