Skip to content

Version Packages#460

Merged
its-everdred merged 1 commit into
mainfrom
changeset-release/main
May 9, 2026
Merged

Version Packages#460
its-everdred merged 1 commit into
mainfrom
changeset-release/main

Conversation

@opgitgovernance
Copy link
Copy Markdown
Collaborator

@opgitgovernance opgitgovernance commented May 8, 2026

This PR was opened by the Changesets release GitHub action. When you're ready to do a release, you can merge this and the packages will be published to npm automatically. If you're not ready to do a release yet, that's fine, whenever you add more changesets to main, this PR will be updated.

Releases

@eth-optimism/actions-sdk@0.7.0

Minor Changes

  • #430 e24b93a Thanks @its-everdred! - SDK: barrel-export the lend / approval / capability vocabulary that downstream
    tooling was reaching past the public API to consume.

    • Re-export ApprovalMode, LendProviderName, and the new LendAction literal
      from the package root.
    • Add a runtime mirror for each: APPROVAL_MODES and LEND_ACTIONS.
      ApprovalMode and LendAction are now derived from these tuples, so the
      type and the runtime list cannot drift.
    • Add CHAIN_SHORTNAMES, a canonical Record<SupportedChainId, string> of
      human-friendly chain shortnames (base, op-sepolia, ...). Use this as
      the source of truth for --chain parsing and any other surface that maps
      user-typed chain strings to a SupportedChainId. Adding a new
      SupportedChainId requires a corresponding entry here.
    • Add getLendMarketAllowlist(lend), which flattens every provider's
      marketAllowlist from a LendConfig and skips the settings sibling.
    • Add Wallet.has(namespace) capability check for the lend and swap
      namespaces. Lets callers branch on whether a namespace was registered
      without poking at internal fields.

    CLI: drop the local mirrors and reach for the SDK exports instead. Help-text
    examples now derive from the resolved config (asset symbols, chain shortnames,
    chain ids) rather than hard-coding USDC_DEMO / base-sepolia / 84532.
    runLendMarket passes the resolved LendMarketConfig straight through to
    actions.lend.getMarket instead of rebuilding {address, chainId}.

  • #430 afc2b97 Thanks @its-everdred! - Perf: cut EOA swap dispatch wall-time on fast L2s.

    • EOAWallet.sendBatch no longer waits for confirmations: 2 between sub-txs.
      One inclusion wait per tx is enough now that EOAWallet.walletClient attaches
      viem's default nonceManager to the signer, which keeps nonces sequential
      locally instead of relying on eth_getTransactionCount('pending') on every
      send (avoids races on load-balanced RPCs).
    • ChainManager now defaults the viem pollingInterval per chain class:
      1000ms for L2-class chains (~1-2s blocks) and 4000ms for L1 mainnet/sepolia
      (~12s blocks). Saves ~3 RPC poll cycles per receipt wait on Base/OP/Unichain.
      This default applies to the public client used by getPublicClient() and to
      the public client wrapping the simple bundler client. There is no override
      knob; if a real consumer needs one we'll add it then.

    Behavioural notes for consumers:

    • sendBatch is sequential and assumes a sequencer-ordered chain (e.g.
      OP-stack L2s). On reorg-heavy chains, callers should consider an additional
      confirmations pass at the call site.
    • The Velodrome swap path uses direct ERC-20 max approval to its universal
      router when approvalMode: 'max' is requested — there is no Permit2
      intermediary as on Uniswap. The full allowance persists at the router until
      manually revoked. Continue to scope approvalMode: 'max' to demo/testnet
      paths.
  • #424 cf12b15 Thanks @its-everdred! - Export SWAP_PROVIDER_NAMES, LEND_PROVIDER_NAMES, and APPROVAL_MODES runtime constants from the SDK barrel. The existing SwapProviderName, LendProviderName, and ApprovalMode types are now derived from these constants, so adding a new value is a single-line change. Consumers (CLI, custom validators) that need to enumerate names at runtime can drop their hardcoded copies and import the canonical lists.

  • #461 f288e42 Thanks @its-everdred! - - Drop 2-confirmation wait in EOAWallet.sendBatch; attach viem nonceManager to the signer.

    • Default viem pollingInterval to 1000ms on L2 chains and 4000ms on L1.
    • Export APPROVAL_MODES, LEND_PROVIDER_NAMES, SWAP_PROVIDER_NAMES, and LEND_ACTIONS runtime tuples; derive matching types from them.
    • Export CHAIN_SHORTNAMES, a canonical SupportedChainId → shortname map derived from viem.
    • Barrel-export ApprovalMode, LendProviderName, and the new LendAction literal.
    • Add getLendMarketAllowlist(lend) to flatten provider allowlists from a LendConfig.
    • Add Wallet.has(namespace) capability check for 'lend' and 'swap'.
    • Fix Velodrome universal router to use payerIsUser: true, resolving TRANSFER_FAILED on EOA swaps.
    • Fix Uniswap V4 exact-output single-hop action byte.

actions-cli@0.3.0

Minor Changes

  • #430 52ba69f Thanks @its-everdred! - Add actions-cli package: agent-first CLI for the Actions SDK. Ships scaffolding,
    JSON output pipeline, smart-wallet bootstrap, and smoke commands (assets,
    chains, wallet address, wallet balance). Lend and swap namespaces land
    in subsequent PRs.

Patch Changes

  • #430 e24b93a Thanks @its-everdred! - SDK: barrel-export the lend / approval / capability vocabulary that downstream
    tooling was reaching past the public API to consume.

    • Re-export ApprovalMode, LendProviderName, and the new LendAction literal
      from the package root.
    • Add a runtime mirror for each: APPROVAL_MODES and LEND_ACTIONS.
      ApprovalMode and LendAction are now derived from these tuples, so the
      type and the runtime list cannot drift.
    • Add CHAIN_SHORTNAMES, a canonical Record<SupportedChainId, string> of
      human-friendly chain shortnames (base, op-sepolia, ...). Use this as
      the source of truth for --chain parsing and any other surface that maps
      user-typed chain strings to a SupportedChainId. Adding a new
      SupportedChainId requires a corresponding entry here.
    • Add getLendMarketAllowlist(lend), which flattens every provider's
      marketAllowlist from a LendConfig and skips the settings sibling.
    • Add Wallet.has(namespace) capability check for the lend and swap
      namespaces. Lets callers branch on whether a namespace was registered
      without poking at internal fields.

    CLI: drop the local mirrors and reach for the SDK exports instead. Help-text
    examples now derive from the resolved config (asset symbols, chain shortnames,
    chain ids) rather than hard-coding USDC_DEMO / base-sepolia / 84532.
    runLendMarket passes the resolved LendMarketConfig straight through to
    actions.lend.getMarket instead of rebuilding {address, chainId}.

  • Updated dependencies [e24b93a, afc2b97, cf12b15, f288e42]:

    • @eth-optimism/actions-sdk@0.7.0

@eth-optimism/actions-service@0.2.3

Patch Changes

actions-ui@0.2.3

Patch Changes

@opgitgovernance opgitgovernance requested a review from a team as a code owner May 8, 2026 20:50
@opgitgovernance opgitgovernance requested a review from jefr90 May 8, 2026 20:50
@netlify
Copy link
Copy Markdown

netlify Bot commented May 8, 2026

Deploy Preview for actions-ui ready!

Name Link
🔨 Latest commit 6b2e991
🔍 Latest deploy log https://app.netlify.com/projects/actions-ui/deploys/69fea1d8d22b29000865a53a
😎 Deploy Preview https://deploy-preview-460--actions-ui.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

@opgitgovernance opgitgovernance force-pushed the changeset-release/main branch from aaf49ad to 39b69d6 Compare May 8, 2026 20:50
@opgitgovernance opgitgovernance force-pushed the changeset-release/main branch from 39b69d6 to 6b2e991 Compare May 9, 2026 02:54
@its-everdred its-everdred merged commit 0e31d36 into main May 9, 2026
17 checks passed
@its-everdred its-everdred deleted the changeset-release/main branch May 9, 2026 06:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants