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
5 changes: 0 additions & 5 deletions .changeset/tempo-account-config-from-upgrade.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/tempo-account-simulation-key-data.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/tempo-configurable-account-domains.md

This file was deleted.

10 changes: 0 additions & 10 deletions .changeset/tempo-configurable-account-wire-names.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/tempo-key-authorization-unbound-configurable.md

This file was deleted.

19 changes: 19 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,24 @@
# ox

## 1.8.9

### Patch Changes

- [#518](https://github.com/wevm/ox/pull/518) [`010d6b5`](https://github.com/wevm/ox/commit/010d6b53d74c01b674d82de07887786a2f4b7b18) Thanks [@jxom](https://github.com/jxom)! - Added `AccountConfig.fromUpgrade` for deriving the version-one config an account installs when it migrates in place with `upgradeAccount` (TIP-1113).

- [#518](https://github.com/wevm/ox/pull/518) [`010d6b5`](https://github.com/wevm/ox/commit/010d6b53d74c01b674d82de07887786a2f4b7b18) Thanks [@jxom](https://github.com/jxom)! - Fixed `AccountSimulation.toRpc` passing through empty and 3-byte `keyData`, which the Tempo node rejects, by shimming them into a 2-byte length hint.

- [#518](https://github.com/wevm/ox/pull/518) [`010d6b5`](https://github.com/wevm/ox/commit/010d6b53d74c01b674d82de07887786a2f4b7b18) Thanks [@jxom](https://github.com/jxom)! - Renamed the Tempo configurable account hash domains from `tempo:multisig:*` to `tempo:configurable-account:*` to match Tempo main (tempoxyz/tempo#8502), which changes every `AccountConfig.getAddress`, `AccountConfig.getCommitment`, and `AccountConfig.getSignPayload` result.

- [#518](https://github.com/wevm/ox/pull/518) [`010d6b5`](https://github.com/wevm/ox/commit/010d6b53d74c01b674d82de07887786a2f4b7b18) Thanks [@jxom](https://github.com/jxom)! - Renamed the configurable account RPC key type from `multisig` to `configurableAccount` and `TransactionRequest.multisigSimulation` to `configurableAccountSimulation`, and added the optional `AccountSimulation` grant `signer`, to match the Tempo node.

```diff
- { keyType: 'multisig', multisigSimulation: spec }
+ { keyType: 'configurableAccount', configurableAccountSimulation: spec }
```

- [#518](https://github.com/wevm/ox/pull/518) [`010d6b5`](https://github.com/wevm/ox/commit/010d6b53d74c01b674d82de07887786a2f4b7b18) Thanks [@jxom](https://github.com/jxom)! - Stopped requiring an `account` binding on configurable account key grants, so `KeyAuthorization` and its zod schemas accept every grant the Tempo node accepts, and deprecated `KeyAuthorization.MissingAccountError`, which is no longer thrown.

## 1.8.8

### Patch Changes
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -174,7 +174,7 @@
"name": "ox",
"description": "Ethereum Standard Library",
"type": "module",
"version": "1.8.8",
"version": "1.8.9",
"main": "./dist/index.js",
"sideEffects": false,
"license": "MIT",
Expand Down
18 changes: 12 additions & 6 deletions src/tempo/AccountOperation.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -744,7 +744,8 @@ describe('from', () => {
{
hash: expect.any(String),
transaction: expect.stringMatching(/^0x78/),
}, `
},
`
{
"account": "0x0f8659dd87410f00a1668211ecda7ac7f9c9fd13",
"approvals": [
Expand Down Expand Up @@ -775,7 +776,8 @@ describe('from', () => {
"updatedAt": 2,
"weight": 1,
}
`)
`,
)
})

test('fee-payer-signed transaction', () => {
Expand Down Expand Up @@ -828,7 +830,8 @@ describe('from', () => {
{
hash: expect.any(String),
transaction: expect.any(String),
}, `
},
`
{
"account": "0x0f8659dd87410f00a1668211ecda7ac7f9c9fd13",
"approvals": [
Expand Down Expand Up @@ -859,7 +862,8 @@ describe('from', () => {
"updatedAt": 2,
"weight": 1,
}
`)
`,
)
})

test('key authorization states', () => {
Expand Down Expand Up @@ -981,7 +985,8 @@ describe('from', () => {
{
hash: expect.any(String),
keyAuthorization: expect.any(String),
}, `
},
`
{
"account": "0x0f8659dd87410f00a1668211ecda7ac7f9c9fd13",
"approvals": [
Expand Down Expand Up @@ -1013,7 +1018,8 @@ describe('from', () => {
"updatedAt": 2,
"weight": 2,
}
`)
`,
)
})
})

Expand Down
2 changes: 1 addition & 1 deletion src/version.ts
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
/** @internal */
export const version = '1.8.8'
export const version = '1.8.9'