Skip to content

Commit 96212df

Browse files
authored
Revert "Ton Network Support (#1823)" (#1831)
Revert "Ton Network Support (#1823)
1 parent bc44590 commit 96212df

File tree

15 files changed

+272
-2171
lines changed

15 files changed

+272
-2171
lines changed

.github/workflows/framework-golden-tests.yml

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -43,10 +43,6 @@ jobs:
4343
config: smoke_solana.toml
4444
count: 1
4545
timeout: 10m
46-
- name: TestTonSmoke
47-
config: smoke_ton.toml
48-
count: 1
49-
timeout: 10m
5046
- name: TestUpgrade
5147
config: upgrade.toml
5248
count: 1

book/src/SUMMARY.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,6 @@
4646
- [Sui](framework/components/blockchains/sui.md)
4747
- [TRON](framework/components/blockchains/tron.md)
4848
- [ZKSync](framework/components/blockchains/zksync.md)
49-
- [Ton](framework/components/blockchains/ton.md)
5049
- [Optimism Stack]()
5150
- [Arbitrum Stack]()
5251
- [Chainlink](framework/components/chainlink.md)

book/src/framework/components/blockchains/ton.md

Lines changed: 0 additions & 132 deletions
This file was deleted.

framework/.changeset/v0.7.9.md

Lines changed: 0 additions & 1 deletion
This file was deleted.

framework/.changeset/v0.8.1.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
- Revert TON network to reduce go.mod bloat (temp)

framework/components/blockchain/blockchain.go

Lines changed: 1 addition & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,6 @@ const (
1818
TypeAptos = "aptos"
1919
TypeSui = "sui"
2020
TypeTron = "tron"
21-
TypeTon = "ton"
2221
)
2322

2423
// Blockchain node family
@@ -28,13 +27,12 @@ const (
2827
FamilyAptos = "aptos"
2928
FamilySui = "sui"
3029
FamilyTron = "tron"
31-
FamilyTon = "ton"
3230
)
3331

3432
// Input is a blockchain network configuration params
3533
type Input struct {
3634
// Common EVM fields
37-
Type string `toml:"type" validate:"required,oneof=anvil geth besu solana aptos tron sui ton" envconfig:"net_type"`
35+
Type string `toml:"type" validate:"required,oneof=anvil geth besu solana aptos tron sui" envconfig:"net_type"`
3836
Image string `toml:"image"`
3937
PullImage bool `toml:"pull_image"`
4038
Port string `toml:"port"`
@@ -54,10 +52,6 @@ type Input struct {
5452
SolanaPrograms map[string]string `toml:"solana_programs"`
5553
ContainerResources *framework.ContainerResources `toml:"resources"`
5654
CustomPorts []string `toml:"custom_ports"`
57-
58-
// Ton - MyLocalTon essesntial services to run tests
59-
DockerComposeFileURL string `toml:"docker_compose_file_url"`
60-
TonCoreServices []string `toml:"ton_core_services"`
6155
}
6256

6357
// Output is a blockchain network output, ChainID and one or more nodes that forms the network
@@ -105,8 +99,6 @@ func NewBlockchainNetwork(in *Input) (*Output, error) {
10599
out, err = newTron(in)
106100
case TypeAnvilZKSync:
107101
out, err = newAnvilZksync(in)
108-
case TypeTon:
109-
out, err = newTon(in)
110102
default:
111103
return nil, fmt.Errorf("blockchain type is not supported or empty, must be 'anvil' or 'geth'")
112104
}

framework/components/blockchain/ton.go

Lines changed: 0 additions & 168 deletions
This file was deleted.

0 commit comments

Comments
 (0)