Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
43 changes: 43 additions & 0 deletions .changeset/mighty-games-brake.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,43 @@
---
"tempo.ts": minor
---

**Breaking:** As of `[email protected]`, `tempo.ts/chains` and `tempo.ts/viem` have been upstreamed into Viem, and are no longer maintained in this repository.

```bash
pnpm i [email protected]
```

### Modify `chain` configuration

The `tempo` chain has been renamed to `tempoTestnet`, and now becomes a standard chain object that can be `.extend`ed with a fee token, instead of a function.

```diff
const client = createClient({
- chain: tempo({
- feeToken: '0x20c0000000000000000000000000000000000001'
- }),
+ chain: tempoTestnet.extend({
+ feeToken: '0x20c0000000000000000000000000000000000001'
+ }),
transport: http(),
})
```

### `Account#assignKeyAuthorization` has been removed

The `Account#assignKeyAuthorization` function has been removed. Instead, you will need to assign the key authorization on a transaction manually on the next transaction.

```diff
const accessKey = Account.fromP256(generatePrivateKey(), {
access: account,
})

const keyAuthorization = await account.signKeyAuthorization(accessKey)
- await account.assignKeyAuthorization(keyAuthorization)

const receipt = await client.sendTransactionSync({
account: accessKey,
+ keyAuthorization,
})
```
29 changes: 0 additions & 29 deletions .github/workflows/verify.yml
Original file line number Diff line number Diff line change
Expand Up @@ -67,32 +67,3 @@ jobs:
CI: true
VITE_NODE_TAG: ${{ matrix.tag }}
VITE_RPC_CREDENTIALS: ${{ secrets.VITE_RPC_CREDENTIALS }}

test-deployed:
name: 'Test Runtime (env: ${{ matrix.node-env }}, e2e)'
runs-on: ubuntu-latest
timeout-minutes: 30
strategy:
matrix:
node-env:
- testnet
steps:
- name: Clone repository
uses: actions/checkout@v4
with:
submodules: 'recursive'
token: ${{ secrets.GH_PAT }}

- name: Install dependencies
uses: ./.github/actions/install-dependencies

- name: Run tests
uses: nick-fields/retry@v3
with:
timeout_minutes: 10
max_attempts: 3
command: pnpm test e2e --bail=1
env:
CI: true
VITE_NODE_ENV: ${{ matrix.node-env }}
VITE_RPC_CREDENTIALS: ${{ secrets.VITE_RPC_CREDENTIALS }}
Loading
Loading