Remove ethereum goerli (#462)

* Remove ethereum goerli

* add Sepolia chains
This commit is contained in:
Anton
2024-04-30 14:33:27 +03:00
committed by GitHub
parent 206adba735
commit 99aacf8979
10 changed files with 32 additions and 138 deletions

View File

@@ -51,7 +51,7 @@ class MainConfigReaderSpec extends Specification {
port == 8082
tls != null
routes != null
routes.size() == 3
routes.size() == 2
with(routes[0]) {
id == "eth"
blockchain == Chain.ETHEREUM__MAINNET
@@ -60,10 +60,6 @@ class MainConfigReaderSpec extends Specification {
id == "etc"
blockchain == Chain.ETHEREUM_CLASSIC__MAINNET
}
with(routes[2]) {
id == "goerli"
blockchain == Chain.ETHEREUM__GOERLI
}
}
with(act.health) {
it.enabled

View File

@@ -286,7 +286,7 @@ class NativeCallSpec extends Specification {
def nativeCall = nativeCall(upstreams)
def req = BlockchainOuterClass.NativeCallRequest.newBuilder()
.setChainValue(Chain.ETHEREUM__GOERLI.id)
.setChainValue(Chain.ETHEREUM__SEPOLIA.id)
.addAllItems([1, 2].collect { id ->
return BlockchainOuterClass.NativeCallItem.newBuilder()
.setId(id)
@@ -294,7 +294,7 @@ class NativeCallSpec extends Specification {
.build()
})
.build()
1 * upstreams.isAvailable(Chain.ETHEREUM__GOERLI) >> false
1 * upstreams.isAvailable(Chain.ETHEREUM__SEPOLIA) >> false
when:
def resp = nativeCall.prepareCall(req)
then:

View File

@@ -39,7 +39,6 @@ class DefaultEthereumMethodsSpec extends Specification {
chain | id
Chain.ETHEREUM__MAINNET | '"0x1"'
Chain.ETHEREUM_CLASSIC__MAINNET | '"0x3d"'
Chain.ETHEREUM__GOERLI | '"0x5"'
}
def "Optimism chain unsupported methods"() {

View File

@@ -45,8 +45,6 @@ proxy:
blockchain: ethereum
- id: etc
blockchain: ethereum_classic
- id: goerli
blockchain: goerli
cluster:
defaults:
- chains: