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: 5 additions & 0 deletions .changeset/sad-bottles-tell.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@smartcontractkit/mcms": patch
---

Add TON option to buildTimelockConverters
5 changes: 5 additions & 0 deletions .changeset/salty-grapes-take.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@smartcontractkit/mcms": patch
---

Bump ghcr.io/neodix42/mylocalton-docker:v4.0.0 - speedup
2 changes: 1 addition & 1 deletion chainwrappers/chainaccessor.go
Original file line number Diff line number Diff line change
Expand Up @@ -16,5 +16,5 @@ type ChainAccessor interface {
SolanaClient(selector uint64) (*solrpc.Client, bool)
AptosClient(selector uint64) (aptoslib.AptosRpcClient, bool)
SuiClient(selector uint64) (sui.ISuiAPI, suisuisdk.SuiSigner, bool)
TonClient(selector uint64) (*ton.APIClient, bool)
TonClient(selector uint64) (ton.APIClientWrapped, bool)
}
14 changes: 7 additions & 7 deletions chainwrappers/mocks/chain_accessor.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion e2e/config.ton.toml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ private_keys = [
[ton_config]
chain_id = "-217"
type = "ton"
image = "ghcr.io/neodix42/mylocalton-docker:v3.99"
image = "ghcr.io/neodix42/mylocalton-docker:v4.0.0"

[ton_config.out]
family = "ton"
Expand Down
3 changes: 3 additions & 0 deletions timelock_proposal.go
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ import (
"github.com/smartcontractkit/mcms/sdk/evm"
"github.com/smartcontractkit/mcms/sdk/solana"
"github.com/smartcontractkit/mcms/sdk/sui"
"github.com/smartcontractkit/mcms/sdk/ton"
"github.com/smartcontractkit/mcms/types"
)

Expand Down Expand Up @@ -300,6 +301,8 @@ func (m *TimelockProposal) buildTimelockConverters(_ context.Context) (map[types
if err != nil {
return nil, fmt.Errorf("failed to create Sui timelock converter: %w", err)
}
case chainsel.FamilyTon:
converter = ton.NewTimelockConverter(ton.DefaultSendAmount)
default:
return nil, fmt.Errorf("unsupported chain family %s", fam)
}
Expand Down
Loading