Skip to content
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

Version Packages #1005

Merged
merged 1 commit into from Aug 11, 2023
Merged

Version Packages #1005

merged 1 commit into from Aug 11, 2023

Conversation

github-actions[bot]
Copy link
Contributor

@github-actions github-actions bot commented Aug 9, 2023

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

viem@1.6.0

Minor Changes

  • #984 e1032c7b Thanks @holic! - Added signTransaction & privateKeyToAddress exports to viem/accounts entrypoint.

  • #1006 7311e201 Thanks @jxom! - Added fees to chain config that includes a defaultPriorityFee for setting a default priority fee (maxPriorityFeePerGas) for a chain.

    import type { Chain } from 'viem'
    
    export const example = {
      // ...
      fees: {
        defaultPriorityFee: 1_000_000n, // 0.001 gwei
        // or
        async defaultPriorityFee() {
          // ... some async behavior to derive the fee.
        }
      },
      // ...
    } as const satifies Chain
  • #886 fef66bfb Thanks @jxom! - Added formatter for Optimism transaction receipts (format l1GasPrice, l1GasUsed, etc).

  • #886 fef66bfb Thanks @jxom! - Added entrypoints for chain utilities (viem/chains/utils) with exports for chain-specific chains, formatters, serializers, and types.

    Examples:

    import {
      type CeloBlock,
      type CeloTransaction,
      type OptimismBlock,
      type OptimismTransaction,
      serializeTransactionCelo,
    } from 'viem/chains/utils'

Patch Changes


PR-Codex overview

This PR focuses on updating the version of the viem package to 1.6.0 and includes several notable changes:

Detailed summary

  • Added signTransaction and privateKeyToAddress exports to viem/accounts entrypoint.
  • Added fees to chain config, including a defaultPriorityFee for setting a default priority fee for a chain.
  • Added a formatter for Optimism transaction receipts.
  • Added entrypoints for chain utilities (viem/chains/utils) with exports for chain-specific chains, formatters, serializers, and types.
  • Updated @noble/curves.
  • Added "already known" as a node message matcher to NonceTooLowError.

✨ Ask PR-Codex anything about this PR by commenting with /codex {your question}

@vercel
Copy link

vercel bot commented Aug 9, 2023

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Updated (UTC)
viem ✅ Ready (Inspect) Visit Preview Aug 11, 2023 4:56am

@github-actions github-actions bot changed the title chore: version package Version Packages Aug 11, 2023
@jxom jxom merged commit 6fa10c6 into main Aug 11, 2023
1 check passed
@jxom jxom deleted the changeset-release/main branch August 11, 2023 05:05
aaronmgdr pushed a commit to celo-org/viem that referenced this pull request Aug 18, 2023
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
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.

None yet

1 participant