Skip to content

Commit 26d78fb

Browse files
authored
Add CHANGELOG for v0.60.0 (#293)
1 parent 1d2941a commit 26d78fb

File tree

1 file changed

+54
-0
lines changed

1 file changed

+54
-0
lines changed

CHANGELOG.md

Lines changed: 54 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,54 @@
1+
# v0.60.0
2+
3+
- Adds support for Sequence Wallet v3 contracts
4+
- Keeps backward compatibility with Sequence Wallet v1/v2 contracts
5+
6+
## API Breaking changes in go-sequence
7+
8+
### `sequence.Relayer` interface
9+
10+
```diff
11+
package sequence
12+
13+
import (
14+
"github.com/0xsequence/ethkit/go-ethereum/common"
15+
)
16+
17+
type Relayer interface {
18+
- EstimateGasLimits(ctx context.Context, walletConfig core.WalletConfig, walletContext WalletContext, txns Transactions) (Transactions, error)
19+
20+
- Simulate(ctx context.Context, txs *SignedTransactions) ([]*RelayerSimulateResult, error)
21+
+ Simulate(ctx context.Context, wallet common.Address, transactions Transactions) ([]*SimulateResult, error)
22+
23+
// ...
24+
}
25+
```
26+
27+
`sequence.RelayerSimulateResult` type has been replaced by `sequence.SimulateResult`:
28+
29+
```diff
30+
-type RelayerSimulateResult struct {
31+
- Executed bool
32+
- Succeeded bool
33+
- Result *string
34+
- Reason *string
35+
- GasUsed uint
36+
- GasLimit uint
37+
- }
38+
39+
+ type SimulateResult struct {
40+
+ simulator.Result
41+
+ GasLimit uint64
42+
+ }
43+
```
44+
45+
### `relayer.RelayerClient` interface
46+
47+
```diff
48+
type RelayerClient interface {
49+
- SendMetaTxn(ctx context.Context, call *MetaTxn, quote *string, projectID *uint64) (bool, string, error)
50+
+ SendMetaTxn(ctx context.Context, call *MetaTxn, quote *string, projectID *uint64, preconditions []*IntentPrecondition) (bool, string, error)
51+
52+
// ...
53+
}
54+
```

0 commit comments

Comments
 (0)