Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: bump vega to v0.76.8 #438

Merged
merged 4 commits into from
Jul 1, 2024
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
2 changes: 1 addition & 1 deletion cmd/install_dependencies.go
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ import (
)

const (
latestReleaseTag = "v0.76.0-preview.3"
latestReleaseTag = "v0.76.8"
)

var (
Expand Down
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ go 1.21
toolchain go1.21.5

require (
code.vegaprotocol.io/vega v0.75.1-0.20240425132817-529d8c1681c8
code.vegaprotocol.io/vega v0.76.8
github.com/BurntSushi/toml v1.3.2
github.com/Masterminds/sprig v2.22.0+incompatible
github.com/blang/semver v3.5.1+incompatible
Expand Down
2 changes: 2 additions & 0 deletions go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,8 @@ code.vegaprotocol.io/quant v0.2.5 h1:8h+TTHdz1LCO4oGXt8mbowXszd8CQP1MHlJOkthUp1E
code.vegaprotocol.io/quant v0.2.5/go.mod h1:HEzOoPKj8OIP49r9AZYeo5281M5ygeGWxopwvt8k6Es=
code.vegaprotocol.io/vega v0.75.1-0.20240425132817-529d8c1681c8 h1:2/D5ougQ4AXvyuVMWeOYpxnvJYavBfCqhuEfpG87JtY=
code.vegaprotocol.io/vega v0.75.1-0.20240425132817-529d8c1681c8/go.mod h1:oTKpFh+pTLJaDcjkdkSS0BhTm5miMRkduNxaabuY0cE=
code.vegaprotocol.io/vega v0.76.8 h1:XRHVZjbU5k+aA9pVkNMfMrL8IBnAuxlfwlwlYkFeTgM=
code.vegaprotocol.io/vega v0.76.8/go.mod h1:oTKpFh+pTLJaDcjkdkSS0BhTm5miMRkduNxaabuY0cE=
contrib.go.opencensus.io/exporter/prometheus v0.4.2 h1:sqfsYl5GIY/L570iT+l93ehxaWJs2/OwXtiWwew3oAg=
contrib.go.opencensus.io/exporter/prometheus v0.4.2/go.mod h1:dvEHbiKmgvbr5pjaF9fpw1KeYcjrnC1J8B+JKjsZyRQ=
dmitri.shuralyov.com/app/changes v0.0.0-20180602232624-0a106ad413e3/go.mod h1:Yl+fi1br7+Rr3LqpNJf1/uxUdtRUV+Tnj0o93V2B9MU=
Expand Down
4 changes: 2 additions & 2 deletions net_confs/config_visor_mixed.hcl
Original file line number Diff line number Diff line change
Expand Up @@ -142,8 +142,8 @@ EOT
ethereum_wallet_pass = "ch41nw4ll3t-3th3r3um-p4ssphr4e3"

config_templates {
vega_file = "./node_set_templates/default/vega_full.tmpl"
tendermint_file = "./node_set_templates/default/tendermint_full.tmpl"
vega_file = "./node_set_templates/default/vega_full_validators.tmpl"
tendermint_file = "./node_set_templates/default/tendermint_validators.tmpl"
visor_run_conf_file = "./node_set_templates/default/visor_run.tmpl"
visor_conf_file = "./node_set_templates/default/visor_config.tmpl"
data_node_file = "./node_set_templates/default/data_node_full_external_postgres.tmpl"
Expand Down
145 changes: 145 additions & 0 deletions net_confs/node_set_templates/default/vega_full_validators.tmpl
Original file line number Diff line number Diff line change
@@ -0,0 +1,145 @@
[Admin]
[Admin.Server]
SocketPath = "{{.NodeHomeDir}}/vega.sock"
Enabled = true

[API]
Level = "Info"
Port = 3{{ printf "%02d" .NodeNumber }}2
[API.REST]
Port = 3{{ printf "%02d" .NodeNumber }}3

[Blockchain]
Level = "Info"
[Blockchain.Tendermint]
Level = "Info"
RPCAddr = "tcp://127.0.0.1:26{{ printf "%02d" (add .NodeNumber 60) }}7"
[Blockchain.Null]
Level = "Info"
Port = 3{{ printf "%02d" (add .NodeNumber 10) }}1

[Collateral]
Level = "Info"

[CoreAPI]
LogLevel = "Info"

[Execution]
Level = "Info"
[Execution.Matching]
Level = "Info"
[Execution.Risk]
Level = "Info"
[Execution.Position]
Level = "Info"
LogPositionUpdate = true
[Execution.Settlement]
Level = "Info"
[Execution.Fee]
Level = "Info"
[Execution.Liquidity]
Level = "Info"


[EvtForward]
Level = "Info"
RetryRate = "1s"
{{if .FaucetPublicKey}}
BlockchainQueueAllowlist = ["{{ .FaucetPublicKey }}"]
{{end}}
[[EvtForward.EVMBridges]]
SkipClientVerification = true
Level = "Info"
PollEventRetryDuration = "500ms"
ChainID = "{{.SecondaryBridgeChainID}}"
[EvtForward.Ethereum]
SkipClientVerification = true

[Ethereum]
RPCEndpoint = "{{.ETHEndpoint}}"
[[Ethereum.EVMBridgeConfigs]]
RPCEndpoint = "{{.SecondaryETHEndpoint}}"
ChainID = "{{.SecondaryBridgeChainID}}"

[NodeWallet]
Level = "Info"
[NodeWallet.ETH]
Level = "Info"

[Processor]
Level = "Info"
[Processor.Ratelimit]
Requests = 10000
PerNBlocks = 1

[Oracles]
Level = "Info"

[Time]
Level = "Info"

[Epoch]
Level = "Info"

[Monitoring]
Level = "Info"

[Metrics]
Level = "Info"

[Governance]
Level = "Info"
[Assets]
Level = "Info"

[Notary]
Level = "Info"

[Genesis]
Level = "Info"

[Validators]
Level = "Info"

[Banking]
Level = "Info"

[Stats]
Level = "Info"

[NetworkParameters]
Level = "Info"

[Limits]
Level = "Info"

[Checkpoint]
Level = "Info"

[Staking]
Level = "Info"

[Broker]
Level = "Info"
[Broker.Socket]
Port = 3{{ printf "%02d" .NodeNumber }}5
Enabled = true


[Rewards]
Level = "Info"

[Delegation]
Level = "Info"

[Spam]
Level = "Info"

[Snapshot]
Level = "Info"

[StateVar]
Level = "Info"

[Pprof]
Level = "Info"
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,12 @@
[EvtForward]
Level = "Info"
RetryRate = "1s"

[[EvtForward.EVMBridges]]
Level = "Info"
SkipClientVerification = true
[EvtForward.Ethereum]
SkipClientVerification = true

[SecondaryEvtForward]
Level = "Info"
Expand Down
33 changes: 18 additions & 15 deletions net_confs/node_set_templates/default/vega_validators.tmpl
Original file line number Diff line number Diff line change
Expand Up @@ -4,26 +4,29 @@
Enabled = true

[API]
Port = {{add 300 .NodeNumber}}2
[API.REST]
Port = {{add 300 .NodeNumber}}3
Port = {{add 300 .NodeNumber}}2
[API.REST]
Port = {{add 300 .NodeNumber}}3

[Blockchain]
[Blockchain.Tendermint]
RPCAddr = "tcp://127.0.0.1:266{{.NodeNumber}}7"
[Blockchain.Null]
Port = {{add 310 .NodeNumber}}1
[Blockchain.Tendermint]
RPCAddr = "tcp://127.0.0.1:266{{.NodeNumber}}7"
[Blockchain.Null]
Port = {{add 310 .NodeNumber}}1

[EvtForward]
Level = "Info"
RetryRate = "1s"
{{if .FaucetPublicKey}}
BlockchainQueueAllowlist = ["{{ .FaucetPublicKey }}"]
{{end}}
Level = "Info"
RetryRate = "1s"
{{if .FaucetPublicKey}}
BlockchainQueueAllowlist = ["{{ .FaucetPublicKey }}"]
{{end}}
[[EvtForward.EVMBridges]]
SkipClientVerification = true
Level = "Info"
PollEventRetryDuration = "500ms"
ChainID = "{{.SecondaryBridgeChainID}}"
[EvtForward.Ethereum]
SkipClientVerification = true



Expand All @@ -34,6 +37,6 @@
ChainID = "{{.SecondaryBridgeChainID}}"

[Processor]
[Processor.Ratelimit]
Requests = 10000
PerNBlocks = 1
[Processor.Ratelimit]
Requests = 10000
PerNBlocks = 1
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,11 @@
{{end}}
[[EvtForward.EVMBridges]]
Level = "Info"
SkipClientVerification = true
PollEventRetryDuration = "500ms"
ChainID = "{{.SecondaryBridgeChainID}}"
[EvtForward.Ethereum]
SkipClientVerification = true



Expand Down
6 changes: 4 additions & 2 deletions net_confs/node_set_templates/sentry/vega_validators.tmpl
Original file line number Diff line number Diff line change
Expand Up @@ -29,8 +29,10 @@
[[EvtForward.EVMBridges]]
Level = "Info"
PollEventRetryDuration = "500ms"
ChainID = "{{.SecondaryBridgeChainID}}"

ChainID = "{{.SecondaryBridgeC
SkipClientVerification = true
[EvtForward.Ethereum]
SkipClientVerification = true


[Ethereum]
Expand Down
Loading