-
Notifications
You must be signed in to change notification settings - Fork 219
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
chore: Sync Endo versions #5576
Conversation
kriskowal
commented
Jun 11, 2022
- chore: Sync Endo versions
- chore: Remove patches for prior Endo versions
- chore: Update yarn.lock
a4535bf
to
99a0d82
Compare
99a0d82
to
4ba9dc1
Compare
@gibson042 I’m investigating a failure after Endo sync in the new publish-kit code. The new |
@warner Another batch of unhandled rejections emanate because some |
717ff53
to
06c876a
Compare
I think #5626 should fix the complaints from these two swingset tests:
But the agoric-sdk/packages/vats/test/test-boot.js Lines 109 to 119 in 3844fca
Something in bootstrap is tolerating the failure to create |
That part is straightforward to address (see 2 line patch below).
I'm looking into this part. diff --git a/packages/vats/test/test-boot.js b/packages/vats/test/test-boot.js
index c631f63ac..f12e67aee 100644
--- a/packages/vats/test/test-boot.js
+++ b/packages/vats/test/test-boot.js
@@ -15,6 +15,7 @@ import { bridgeCoreEval } from '../src/core/chain-behaviors.js';
import { makePromiseSpace } from '../src/core/utils.js';
import { buildRootObject as bankRoot } from '../src/vat-bank.js';
import { buildRootObject as boardRoot } from '../src/vat-board.js';
+import { buildRootObject as ibcRoot } from '../src/vat-ibc.js';
import { buildRootObject as mintsRoot } from '../src/vat-mints.js';
import { buildRootObject as networkRoot } from '../src/vat-network.js';
import { buildRootObject as priceAuthorityRoot } from '../src/vat-priceAuthority.js';
@@ -26,6 +27,7 @@ import { devices } from './devices.js';
const vatRoots = {
bank: bankRoot,
board: boardRoot,
+ ibc: ibcRoot,
mints: mintsRoot,
network: networkRoot,
priceAuthority: priceAuthorityRoot, |
06c876a
to
2e08635
Compare
@michaelfig We can knock out another couple failing tests due to another unhandled rejection in
|
lightly tested: index 97f073f04..8e6574a5b 100644
--- a/packages/deploy-script-support/test/unitTests/test-coreProposalBehavior.js
+++ b/packages/deploy-script-support/test/unitTests/test-coreProposalBehavior.js
@@ -3,6 +3,7 @@ import { test } from '@agoric/zoe/tools/prepare-test-env-ava.js';
import { E } from '@endo/far';
import '@agoric/vats/src/core/types.js';
import { runModuleBehaviors } from '@agoric/vats/src/core/utils.js';
+import { makeNameHubKit } from '@agoric/vats/src/nameHub.js';
import { makeCoreProposalBehavior } from '../../src/coreProposalBehavior.js';
test('coreProposalBehavior', async t => {
@@ -14,8 +15,12 @@ test('coreProposalBehavior', async t => {
getManifestCall,
log: t.log,
});
+ const { nameAdmin: agoricNamesAdmin } = makeNameHubKit();
const result = await behavior({
- consume: { board: { getValue: id => `boardValue:${id}` } },
+ consume: {
+ board: { getValue: id => `boardValue:${id}` },
+ agoricNamesAdmin,
+ },
aParams: 'aparms', |
May need a hand from @michaelfig for this one too. I’m not sure how it’s possible that this is producing an unhandled rejection: tailP = HandledPromise.reject(
new Error('Cannot read past end of iteration.'),
);
// Suppress unhandled rejection error.
tailP.catch(() => {}); It looks like we’re doing the right think by sinking the |
Thank you! The next obstacle is finding a suitable |
I think the 3rd arg, |
Hm... no, I think there's more to it in this case. |
It's not It would be nice if our unhandled rejection code could also report the latest call site that created an unhandled rejection by chaining. I proposed something like that for XS, but the Moddable folks didn't choose to implement it (as of yet). |
The test in question is the test for |
4dbae29
to
0b124e7
Compare
0b124e7
to
fcb8bc9
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM (assuming tests pass)