From 363c82dbaea328b63ae16d04acf580f80f5e6acc Mon Sep 17 00:00:00 2001 From: Turadg Aleahmad Date: Thu, 13 Feb 2025 12:21:53 -0800 Subject: [PATCH 1/3] test: verbose submission building --- a3p-integration/scripts/build-submission.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/a3p-integration/scripts/build-submission.sh b/a3p-integration/scripts/build-submission.sh index 757c7641907..b2cc95baf6f 100755 --- a/a3p-integration/scripts/build-submission.sh +++ b/a3p-integration/scripts/build-submission.sh @@ -16,7 +16,7 @@ shift || true sdkroot=$(git rev-parse --show-toplevel) ( cd "$sdkroot" - yarn agoric run "packages/builders/scripts/$builderScript" "$@" + yarn agoric run --verbose "packages/builders/scripts/$builderScript" "$@" ) # Create and populate the submission directory. From 8006ea2471f0d0c6e90297f34b1e8b9c2eac8c80 Mon Sep 17 00:00:00 2001 From: Turadg Aleahmad Date: Thu, 13 Feb 2025 13:34:22 -0800 Subject: [PATCH 2/3] refactor: clean up imports --- packages/orchestration/src/cosmos-api.ts | 12 ++++-------- 1 file changed, 4 insertions(+), 8 deletions(-) diff --git a/packages/orchestration/src/cosmos-api.ts b/packages/orchestration/src/cosmos-api.ts index 479c5dfbd5d..a82fe28937d 100644 --- a/packages/orchestration/src/cosmos-api.ts +++ b/packages/orchestration/src/cosmos-api.ts @@ -1,8 +1,6 @@ -import type { AnyJson, TypedJson, JsonSafe } from '@agoric/cosmic-proto'; +import type { AnyJson, JsonSafe, TypedJson } from '@agoric/cosmic-proto'; +import type { Coin } from '@agoric/cosmic-proto/cosmos/base/v1beta1/coin.js'; import type { - Delegation, - DelegationResponse, - Redelegation, RedelegationResponse, UnbondingDelegation, } from '@agoric/cosmic-proto/cosmos/staking/v1beta1/staking.js'; @@ -18,7 +16,7 @@ import type { RequestQuery, ResponseQuery, } from '@agoric/cosmic-proto/tendermint/abci/types.js'; -import type { Brand, Purse, Payment, Amount } from '@agoric/ertp/src/types.js'; +import type { Amount, Payment } from '@agoric/ertp/src/types.js'; import type { Port } from '@agoric/network'; import type { IBCChannelID, @@ -34,10 +32,8 @@ import type { LocalIbcAddress, RemoteIbcAddress, } from '@agoric/vats/tools/ibc-utils.js'; -import type { QueryDelegationTotalRewardsResponse } from '@agoric/cosmic-proto/cosmos/distribution/v1beta1/query.js'; -import type { Coin } from '@agoric/cosmic-proto/cosmos/base/v1beta1/coin.js'; -import type { AmountArg, ChainAddress, Denom, DenomAmount } from './types.js'; import { PFM_RECEIVER } from './exos/chain-hub.js'; +import type { AmountArg, ChainAddress, Denom, DenomAmount } from './types.js'; /** An address for a validator on some blockchain, e.g., cosmos, eth, etc. */ export type CosmosValidatorAddress = ChainAddress & { From e41132d0dee626ae5cb5c5879deb2ac71a6cc2f0 Mon Sep 17 00:00:00 2001 From: Turadg Aleahmad Date: Thu, 13 Feb 2025 12:26:20 -0800 Subject: [PATCH 3/3] chore: import orch typeGuards alone --- packages/fast-usdc/src/type-guards.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/fast-usdc/src/type-guards.js b/packages/fast-usdc/src/type-guards.js index eebaddef60d..0e80eeb2717 100644 --- a/packages/fast-usdc/src/type-guards.js +++ b/packages/fast-usdc/src/type-guards.js @@ -4,7 +4,7 @@ import { CosmosChainInfoShape, DenomDetailShape, DenomShape, -} from '@agoric/orchestration'; +} from '@agoric/orchestration/src/typeGuards.js'; import { PendingTxStatus } from './constants.js'; /**