From ec3d7b3c48001f863ab17c12ab5cbc07af9f1327 Mon Sep 17 00:00:00 2001 From: Pete Barrow Date: Wed, 10 Jan 2024 12:49:12 +0000 Subject: [PATCH 1/4] fix: Added mark price config --- perftest/wallet.go | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/perftest/wallet.go b/perftest/wallet.go index 3ca4af6..9bf1ad3 100644 --- a/perftest/wallet.go +++ b/perftest/wallet.go @@ -123,6 +123,12 @@ func (w walletWrapper) NewMarket(offset int, user UserDetails) error { "enactmentTimestamp": w.SecondsFromNowInSecs(30), "newMarket": map[string]interface{}{ "changes": map[string]interface{}{ + "markPriceConfiguration": map[string]interface{}{ + "decayWeight": "0.001", + "decayPower": 1, + "cashAmount": "1000000", + "compositePriceType": 3, // LAST TRADE + }, "linearSlippageFactor": "0.001", "quadraticSlippageFactor": "0.0", "decimalPlaces": "5", From 3b899dddec28c68fbec3d5ea29e792414870c195 Mon Sep 17 00:00:00 2001 From: Pete Barrow Date: Wed, 10 Jan 2024 12:56:44 +0000 Subject: [PATCH 2/4] fix: Removed unneeded values --- perftest/wallet.go | 2 -- 1 file changed, 2 deletions(-) diff --git a/perftest/wallet.go b/perftest/wallet.go index 9bf1ad3..931509b 100644 --- a/perftest/wallet.go +++ b/perftest/wallet.go @@ -124,9 +124,7 @@ func (w walletWrapper) NewMarket(offset int, user UserDetails) error { "newMarket": map[string]interface{}{ "changes": map[string]interface{}{ "markPriceConfiguration": map[string]interface{}{ - "decayWeight": "0.001", "decayPower": 1, - "cashAmount": "1000000", "compositePriceType": 3, // LAST TRADE }, "linearSlippageFactor": "0.001", From c1d851eac174d513bb835e894485dd86d65399e8 Mon Sep 17 00:00:00 2001 From: Pete Barrow Date: Wed, 10 Jan 2024 13:08:16 +0000 Subject: [PATCH 3/4] fix: Removed another unneeded value --- perftest/wallet.go | 1 - 1 file changed, 1 deletion(-) diff --git a/perftest/wallet.go b/perftest/wallet.go index 931509b..38c97d7 100644 --- a/perftest/wallet.go +++ b/perftest/wallet.go @@ -124,7 +124,6 @@ func (w walletWrapper) NewMarket(offset int, user UserDetails) error { "newMarket": map[string]interface{}{ "changes": map[string]interface{}{ "markPriceConfiguration": map[string]interface{}{ - "decayPower": 1, "compositePriceType": 3, // LAST TRADE }, "linearSlippageFactor": "0.001", From a048b398843c68237cd8bbbfab39d7781ea50401 Mon Sep 17 00:00:00 2001 From: Pete Barrow Date: Thu, 11 Jan 2024 06:46:10 +0000 Subject: [PATCH 4/4] feat: CHANGELOG --- CHANGELOG.md | 1 + 1 file changed, 1 insertion(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index 7e5cfc7..c0f187f 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -87,6 +87,7 @@ - [286](https://github.com/vegaprotocol/vegatools/pull/286) - Add support for pagination in the accounts and delegations queries to data-node - [286](https://github.com/vegaprotocol/vegatools/pull/298) - Add support for pagination in the parties query to data-node - [302](https://github.com/vegaprotocol/vegatools/issues/302) - Removed old market proposal field and renamed network param +- [329](https://github.com/vegaprotocol/vegatools/issues/329) - Added new mark price config to market creation transaction in perftest ## 0.41.1 *2021-08-31*