Skip to content

Commit 2e40e83

Browse files
Fix testnet branch (#20)
* feat: Mainnet example configuration * feat: Update docker compose for mainnet * Revert "feat: Update docker compose for mainnet" This reverts commit 487bb64. * feat: Update docker compose for mainnet * chore: Add some comments back to config.example.yaml * fix: Relayer engine wormhole-sdk dependency * fix: relayer-engine import * fix: Wormhole recovery api endpoint * chore: Refactor wallet ports (route via wallet service) * feat: Wallet worker restart mechanism * chore: Bump version to 0.1.1 * fix: Set Wormhole spy to 'testnet' * chore: Recover testnet example config --------- Co-authored-by: Alexander <[email protected]>
1 parent c1a736c commit 2e40e83

13 files changed

+5880
-7234
lines changed

config.example.yaml

+3-3
Original file line numberDiff line numberDiff line change
@@ -40,17 +40,17 @@ global:
4040
maxAllowedPriorityFeePerGas: # Upper bound to the 'maxPriorityFeePerGas' set on transactions (for chains that support eip-1559)
4141
'100000000000'
4242
maxPriorityFeeAdjustmentFactor: # Decimal factor used to adjust the 'maxPriorityFeePerGas' returned by 'getFeeData()'.
43-
1.05 # The resulting value is set as the 'maxPriorityFeePerGas' property of the transaction
43+
1.01 # The resulting value is set as the 'maxPriorityFeePerGas' property of the transaction
4444
# if it is smaller than the configuration property 'maxAllowedPriorityFeePerGas' (if set).
4545

4646
# Legacy Transactions
4747
maxAllowedGasPrice: '200000000000' # Upper bound to the 'gasPrice' set on transactions (for chains that do not support eip-1559)
48-
gasPriceAdjustmentFactor: 1.05 # Decimal factor used to adjust the 'gasPrice' returned by 'getFeeData()'. The resulting
48+
gasPriceAdjustmentFactor: 1.01 # Decimal factor used to adjust the 'gasPrice' returned by 'getFeeData()'. The resulting
4949
# value is set as the 'gasPrice' property of the transaction if it is smaller than the
5050
# configuration property 'maxAllowedGasPrice' (if set).
5151

5252
# All Transactions
53-
priorityAdjustmentFactor: 1.2 # Decimal factor used to adjust **all** the gas prices (including 'maxFeePerGas') for
53+
priorityAdjustmentFactor: 1.05 # Decimal factor used to adjust **all** the gas prices (including 'maxFeePerGas') for
5454
# priority transactions.
5555

5656
persister:

docker-compose.yaml

+2-4
Original file line numberDiff line numberDiff line change
@@ -22,10 +22,8 @@ services:
2222
- /node.key
2323
- --spyRPC
2424
- '[::]:${SPY_PORT}'
25-
- --network
26-
- /wormhole/testnet/2/1
27-
- --bootstrap
28-
- '/dns4/t-guardian-01.nodes.stable.io/udp/8999/quic/p2p/12D3KooWCW3LGUtkCVkHZmVSZHzL3C4WRKWfqAiJPz1NR7dT9Bxh,/dns4/t-guardian-02.nodes.stable.io/udp/8999/quic/p2p/12D3KooWJXA6goBCiWM8ucjzc4jVUBSqL9Rri6UpjHbkMPErz5zK'
25+
- --env
26+
- testnet
2927
attach: false
3028
profiles: ['wormhole']
3129
logging:

package.json

+7-2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "generalised-relayer",
3-
"version": "0.1.0",
3+
"version": "0.1.1",
44
"description": "",
55
"author": "Cata Labs, Inc.",
66
"private": true,
@@ -22,14 +22,14 @@
2222
"generate": "drizzle-kit generate:pg"
2323
},
2424
"dependencies": {
25-
"@catalabs/relayer-engine": "^0.3.3",
2625
"@nestjs/common": "^10.0.0",
2726
"@nestjs/core": "^10.0.0",
2827
"@nestjs/platform-express": "^10.0.0",
2928
"@nestjs/platform-ws": "^10.3.7",
3029
"@nestjs/schematics": "^10.0.0",
3130
"@nestjs/websockets": "^10.3.7",
3231
"@typechain/ethers-v6": "^0.5.1",
32+
"@wormhole-foundation/relayer-engine": "^0.3.2",
3333
"ajv": "^8.12.0",
3434
"dotenv": "^16.3.1",
3535
"drizzle-kit": "^0.20.6",
@@ -69,6 +69,11 @@
6969
"typechain": "^8.3.2",
7070
"typescript": "^5.1.3"
7171
},
72+
"pnpm": {
73+
"overrides": {
74+
"@wormhole-foundation/relayer-engine>@certusone/wormhole-sdk": "0.10.15"
75+
}
76+
},
7277
"jest": {
7378
"moduleFileExtensions": [
7479
"js",

0 commit comments

Comments
 (0)