Adjust workflow to new wallet (#1668)

* chore: change wallet import and fix test

* chore: fix wallet run

* chore: fix wallet run

* chore: update capsule config
This commit is contained in:
Radosław Szpiech 2022-10-06 14:40:15 +02:00 committed by GitHub
parent c03281ee0d
commit 38454a7e33
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 12 additions and 11 deletions

View File

@ -32,14 +32,14 @@ runs:
- name: Import fairground network
shell: bash
if: ${{ inputs.capsule==false }}
run: vegawallet network import --from-url="https://raw.githubusercontent.com/vegaprotocol/networks/master/fairground/fairground.toml" --force --home ~/.vegacapsule/testnet/wallet
run: vegawallet network import --from-url="https://raw.githubusercontent.com/vegaprotocol/networks-internal/master/fairground/vegawallet-fairground.toml" --force --home ~/.vegacapsule/testnet/wallet
- name: Start service using fairground network
shell: bash
if: ${{ inputs.capsule==false }}
run: vegawallet service run --network fairground --automatic-consent --home ~/.vegacapsule/testnet/wallet &
run: vegawallet service run --network fairground --automatic-consent --no-version-check --home ~/.vegacapsule/testnet/wallet &
- name: Start service using capsule network
shell: bash
if: ${{ inputs.capsule }}
if: ${{ inputs.capsule==true }}
run: vegawallet service run --network DV --automatic-consent --home ~/.vegacapsule/testnet/wallet &

View File

@ -115,7 +115,7 @@ describe('markets table', { tags: '@regression' }, () => {
.should('have.attr', 'href')
.and(
'include',
'https://docs.fairground.vega.xyz/docs/trading-questions/#auctions-what-is-a-liquidity-monitoring-auction'
'https://docs.vega.xyz/docs/testnet/concepts/trading-on-vega/trading-modes#auction-type-liquidity-monitoring'
);
});

View File

@ -42,7 +42,6 @@ describe('orders', { tags: '@smoke' }, () => {
it('renders orders', () => {
cy.getByTestId('tab-orders').should('be.visible');
expect(subscriptionMocks.OrderSub).to.be.calledOnce;
cy.getByTestId('tab-orders').within(() => {
cy.get(`[col-id='${orderSymbol}']`).each(($symbol) => {

View File

@ -18,15 +18,12 @@ EOT
}
wallet "wallet-1" {
binary = "vegawallet"
template = <<-EOT
Name = "DV"
Level = "info"
TokenExpiry = "168h0m0s"
Port = 1789
Host = "0.0.0.0"
[API]
[API.GRPC]
Hosts = [{{range $i, $v := .Validators}}{{if ne $i 0}},{{end}}"127.0.0.1:30{{$i}}2"{{end}}]
@ -54,7 +51,7 @@ EOT
auth_soft_fail = true
}
docker_service "postgres-1" {
image = "vegaprotocol/timescaledb:2.7.1-pg14"
image = "vegaprotocol/timescaledb:2.8.0-pg14"
cmd = "postgres"
args = []
env = {
@ -66,6 +63,11 @@ EOT
value = 5232
to = 5432
}
resources {
cpu = 600
memory = 900
}
auth_soft_fail = true
}
}
@ -90,7 +92,7 @@ EOT
node_set "full" {
count = 1
mode = "full"
data_node_binary = "data-node"
use_data_node = true
config_templates {
vega_file = "./node_set_templates/default/vega_full.tmpl"
@ -98,4 +100,4 @@ EOT
data_node_file = "./node_set_templates/default/data_node_full_external_postgres.tmpl"
}
}
}
}