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

Preview/v0.78.0 preview.3 #11595

Closed
wants to merge 143 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
143 commits
Select commit Hold shift + click to select a range
175673a
chore: update dev version
jeremyletang Jul 23, 2024
a99d0bb
Merge pull request #11477 from vegaprotocol/chore/update-dev-version
jeremyletang Jul 31, 2024
7ab7418
fix: order spam check for amends fixed
ze97286 Jul 31, 2024
d220ac2
Merge pull request #11517 from vegaprotocol/11516
jeremyletang Jul 31, 2024
122af02
feat: deprecate average position metric and replace it with average n…
ze97286 Aug 3, 2024
459d578
Merge pull request #11509 from vegaprotocol/average_notional_position
EVODelavega Aug 5, 2024
6a747d0
feat: buyback and treasury fees + split reward/discount components + …
ze97286 Aug 5, 2024
27e0499
fix: restore AMM's position factor when loading from a snapshot
wwestgarth Aug 5, 2024
1dce80e
Merge pull request #11431 from vegaprotocol/buyback
ze97286 Aug 5, 2024
e08f142
Merge branch 'develop' into 11521-restore-amm-position-factor
ze97286 Aug 5, 2024
f31edf7
Merge pull request #11522 from vegaprotocol/11521-restore-amm-positio…
wwestgarth Aug 5, 2024
b3b92b9
fix: account for rounding issue, and account for AMM in checkbook call
EVODelavega Aug 5, 2024
bf1c5bd
test: fix checkbook logic
EVODelavega Aug 5, 2024
b88e564
test: add multiple vAMM base scenario
EVODelavega Aug 5, 2024
4ca9285
Merge pull request #11520 from vegaprotocol/11504-rounding-bug
EVODelavega Aug 5, 2024
307227b
feat: improve snapshot performance by using more targetted caching
wwestgarth Aug 6, 2024
d378062
Merge pull request #11525 from vegaprotocol/amm-perf
wwestgarth Aug 6, 2024
e86b94f
feat: add support for combined filters
EVODelavega Aug 5, 2024
54d7749
Merge pull request #11524 from vegaprotocol/11372-amm-filtering
EVODelavega Aug 6, 2024
f194012
test: add coverage ensuring pegged orders are deployed on an empty bo…
EVODelavega Aug 6, 2024
373608d
test: add coverage for vAMM amendments in different situations
EVODelavega Aug 6, 2024
0a69b27
test: add AC to pegged order tests
EVODelavega Aug 6, 2024
c21e1b0
test: add coverage for pegged order and vAMM ACs
EVODelavega Aug 6, 2024
b3b8bdf
chore: remove file that should not have been tracked to begin with
EVODelavega Aug 6, 2024
a62acd4
fix: force a reprice if the amend of an AMM may switch or remove a side
EVODelavega Aug 6, 2024
fe22369
fix: check for ref-moves after any AMM operation, and add feature tes…
wwestgarth Aug 7, 2024
18ca094
Merge pull request #11527 from vegaprotocol/AMM-coverage
jeremyletang Aug 7, 2024
ed2bcc5
fix: estimate AMM bounds now reports commitment issues and respects m…
wwestgarth Aug 7, 2024
82f5aed
chore: fix buf linter
jeremyletang Aug 7, 2024
0287946
fix: typos in doc-strings
wwestgarth Aug 7, 2024
d725830
Merge pull request #11534 from vegaprotocol/11526-fix-amm-estimate
jeremyletang Aug 7, 2024
1d9abe3
feat: eligible reward + support for lottery rank distribution strategy
ze97286 Aug 7, 2024
c4d95f6
Merge pull request #11529 from vegaprotocol/random_reward
ze97286 Aug 7, 2024
1df3678
fix: order spam check for spot fixed
ze97286 Aug 8, 2024
fddb134
fix: added to change log
ze97286 Aug 8, 2024
4205bf7
Merge pull request #11539 from vegaprotocol/fix_spot_spam_bug
jeremyletang Aug 8, 2024
6779b49
fix: non determinism in lottery ranking fixed
ze97286 Aug 8, 2024
16e0325
Merge pull request #11543 from vegaprotocol/11542
ze97286 Aug 8, 2024
1f581e7
feat: make batch market instruction errors usable
jeremyletang Aug 7, 2024
fe48ba8
chore: Apply suggestions from code review
jeremyletang Aug 7, 2024
68b8964
chore: regenerate protos
jeremyletang Aug 7, 2024
6ee7627
Merge pull request #11537 from vegaprotocol/feature/map-errors
jeremyletang Aug 8, 2024
83f182a
feat: add validation on market proposals metadata
jeremyletang Aug 8, 2024
aaaa4bb
fix: AMMs can now be submitted on markets with more decimal-places th…
wwestgarth Aug 8, 2024
750a0ef
Merge pull request #11547 from vegaprotocol/feature/metadatas
jeremyletang Aug 8, 2024
2d24268
Merge branch 'develop' into 11486-amm-negative-dps
jeremyletang Aug 8, 2024
c8af335
Merge pull request #11548 from vegaprotocol/11486-amm-negative-dps
jeremyletang Aug 8, 2024
c1e1bca
fix: do not panic if commitment is super low in estimate-AMM bounds a…
wwestgarth Aug 9, 2024
4bdcc38
Merge pull request #11550 from vegaprotocol/fix-estimate-amm-bounds-a…
wwestgarth Aug 9, 2024
18a0945
fix: empty-factor struct comparison does not work because decimal con…
wwestgarth Aug 9, 2024
5e69386
Merge pull request #11551 from vegaprotocol/fix-factor-split-snapshot
jeremyletang Aug 11, 2024
94b8d3e
refactor: cover remaining vAMM ACs
witgaw Aug 11, 2024
6ce535e
chore: ACs and fixes for eligible entities rewards
ze97286 Aug 12, 2024
a3bd63b
Merge pull request #11553 from vegaprotocol/reward_ACs
ze97286 Aug 12, 2024
5be6936
test: coverage for edge cases with vAMM
EVODelavega Aug 12, 2024
bc366bd
Merge pull request #11554 from vegaprotocol/AMM-edge-cases
EVODelavega Aug 12, 2024
5da32f5
fix: specify end time when fetching new candles
EVODelavega Aug 12, 2024
512d4be
fix: check period start, not last update to filter updates
EVODelavega Aug 12, 2024
bf1a933
fix: account for updated candle
EVODelavega Aug 12, 2024
5e0a5f9
feat: add FT for high volume maker rebate
Jiajia-Cui Aug 12, 2024
12829f9
feat: update table
Jiajia-Cui Aug 12, 2024
b3aae9c
chore: add doc string to rank table for lottery
ze97286 Aug 12, 2024
bd94e9c
Merge branch 'develop' into vamm-acs
wwestgarth Aug 12, 2024
70ef7cf
Merge pull request #11555 from vegaprotocol/11544-candle-stream
jeremyletang Aug 12, 2024
bad049f
Merge branch 'develop' into lottery_doc
ze97286 Aug 12, 2024
23f24c5
Merge pull request #11559 from vegaprotocol/lottery_doc
jeremyletang Aug 12, 2024
b745526
fix: replace schema for referral_set_stats
EVODelavega Aug 12, 2024
9b5afc9
Merge pull request #11558 from vegaprotocol/fix-referral-set-stats
jeremyletang Aug 12, 2024
9187170
Merge branch 'develop' into vamm-acs
jeremyletang Aug 12, 2024
4c35248
Merge pull request #11552 from vegaprotocol/vamm-acs
jeremyletang Aug 12, 2024
343922e
feat: add FT for high volume maker rebate
Jiajia-Cui Aug 12, 2024
7824019
feat: update table
Jiajia-Cui Aug 12, 2024
93e7db0
feat: add FT for 0029 fee overhaul
Jiajia-Cui Aug 7, 2024
ad0269c
feat: add more ACs
Jiajia-Cui Aug 8, 2024
7acc570
feat: add ac 0029-fees-040
Jiajia-Cui Aug 8, 2024
2e4f86d
feat: add AC 040, 041
Jiajia-Cui Aug 9, 2024
38a037c
feat: add order status checking
Jiajia-Cui Aug 9, 2024
06fa8ce
feat: address comments from Witold
Jiajia-Cui Aug 12, 2024
959e3f0
Merge pull request #11538 from vegaprotocol/add-FT-0029
jeremyletang Aug 12, 2024
712c168
fix: err shadowing prevented failed AMM amend to restore old AMM
wwestgarth Aug 13, 2024
a7f3fb3
Merge branch 'develop' into high-volume-maker-rebate-FT
Jiajia-Cui Aug 13, 2024
131edd1
Merge pull request #11564 from vegaprotocol/11561-err-shadowing
jeremyletang Aug 13, 2024
369335f
feat: add 0029-042
Jiajia-Cui Aug 13, 2024
74e3f9c
Merge branch 'develop' into high-volume-maker-rebate-FT
Jiajia-Cui Aug 13, 2024
24328ed
feat: add ac 0029-047
Jiajia-Cui Aug 13, 2024
83e341a
feat: address comments from Charline
Jiajia-Cui Aug 13, 2024
6744f30
chore: tidy up
Jiajia-Cui Aug 13, 2024
c7b4380
chore: rename staking bridge events
jeremyletang Aug 13, 2024
883af01
feat: Update average notional metric with mark price at the end of th…
ze97286 Aug 13, 2024
555de1b
Merge branch 'develop' into 11562
ze97286 Aug 13, 2024
f2ad5d3
Merge pull request #11557 from vegaprotocol/high-volume-maker-rebate-FT
EVODelavega Aug 13, 2024
80306d1
feat: change behaviour of stop orders
EVODelavega Aug 13, 2024
933e097
Merge branch 'develop' into 11562
ze97286 Aug 13, 2024
cbb9d89
Merge pull request #11567 from vegaprotocol/8777-stop-order-changes
EVODelavega Aug 13, 2024
3b98fda
Merge branch 'develop' into 11562
ze97286 Aug 13, 2024
f3091d5
chore: add AC for market depth expansion
wwestgarth Aug 13, 2024
8890989
Merge pull request #11563 from vegaprotocol/11562
ze97286 Aug 13, 2024
4fbfbf6
Merge branch 'develop' into amm-ac
jeremyletang Aug 13, 2024
b4637d2
Merge pull request #11566 from vegaprotocol/amm-ac
jeremyletang Aug 13, 2024
e680f01
fix: orderbook shape on almost closed out AMM can be calculated exactly
wwestgarth Aug 13, 2024
2a4e579
feat: Include the required set of parties for evaluation for eligible…
ze97286 Aug 13, 2024
a943832
Merge branch 'develop' into 11562
ze97286 Aug 13, 2024
aecf399
Merge pull request #11569 from vegaprotocol/11568-shape-almost-closed…
jeremyletang Aug 13, 2024
286ea5f
fix: add missing rebate program validation
ze97286 Aug 13, 2024
0c88bc4
Merge branch 'develop' into 11562
ze97286 Aug 13, 2024
c99058b
Merge branch 'develop' into rebate_validation
ze97286 Aug 13, 2024
7f436a1
Merge pull request #11571 from vegaprotocol/11562
ze97286 Aug 13, 2024
d9b03f6
Merge branch 'develop' into rebate_validation
ze97286 Aug 13, 2024
028e0a7
Merge pull request #11573 from vegaprotocol/rebate_validation
ze97286 Aug 14, 2024
f462324
feat: update all ABI functions
wwestgarth Aug 14, 2024
e333acb
fix: referral set stats API unmarshalls discount factors properly
wwestgarth Aug 14, 2024
4815e13
Merge pull request #11574 from vegaprotocol/fix-referral-set-stats-api
wwestgarth Aug 14, 2024
0dd6fea
fix: rename new gql field to better reflect what it is
wwestgarth Aug 14, 2024
9a792b9
fix: Replace additional rebate validation with a cap
ze97286 Aug 14, 2024
370509b
Merge pull request #11575 from vegaprotocol/fix-gql-benefit-tier
wwestgarth Aug 14, 2024
1525ce9
fix: spot calculate fee on amend, use order price if no amended price…
jeremyletang Aug 14, 2024
b1bc182
Merge branch 'develop' into rebate_remove_invariant
ze97286 Aug 14, 2024
e4dfd3a
Merge pull request #11580 from vegaprotocol/feature/panic-spot
jeremyletang Aug 14, 2024
81597c6
chore: update multisig / bridge ABIs
jeremyletang Aug 14, 2024
e6ae93b
fix: initialise rebate stats and programs in APIs
jeremyletang Aug 14, 2024
2bfad77
Merge pull request #11586 from vegaprotocol/fix/11585
jeremyletang Aug 14, 2024
9048e7d
fix: when closing a market remove AMMs entirely from engine
wwestgarth Aug 14, 2024
dea2d94
Merge pull request #11587 from vegaprotocol/11583-market-data-on-settle
jeremyletang Aug 14, 2024
414d453
Merge branch 'develop' into rebate_remove_invariant
jeremyletang Aug 14, 2024
1e2ed42
Merge pull request #11578 from vegaprotocol/rebate_remove_invariant
jeremyletang Aug 14, 2024
f7b47e6
test: update test to include changes to protos
EVODelavega Aug 15, 2024
497db9f
Merge pull request #11589 from vegaprotocol/11531-update-tests
jeremyletang Aug 15, 2024
62e04ab
chore: fix test and use same signing scheme accross bridges
jeremyletang Aug 15, 2024
5cdb5fe
fix: send empty factors for party that does no qualify
wwestgarth Aug 14, 2024
939926c
chore: linter
jeremyletang Aug 15, 2024
cdc1b8c
chore: fix tests
jeremyletang Aug 15, 2024
678c909
Merge pull request #11581 from vegaprotocol/fix-do-not-send-nil-factors
jeremyletang Aug 15, 2024
7182e88
feat: include party information in estimate fee to calculate the disc…
ze97286 Aug 15, 2024
96f74e1
Merge pull request #11590 from vegaprotocol/11533
jeremyletang Aug 15, 2024
6f4764a
chore: update eventnames in filterer
wwestgarth Aug 16, 2024
07ef744
fix: reset proto-netparam before loading JSON into it
wwestgarth Aug 16, 2024
a96f441
chore: disable bridge contract bytecode check
wwestgarth Aug 16, 2024
f86bf7b
fix: actually set err so that the defer to cleanup after amend runs
wwestgarth Aug 16, 2024
884b777
Merge branch 'develop' into feature/staking-bridge-things
jeremyletang Aug 16, 2024
f9a5a29
Merge pull request #11565 from vegaprotocol/feature/staking-bridge-th…
jeremyletang Aug 16, 2024
75fd32c
Merge branch 'develop' into 11588-fix-panic
jeremyletang Aug 16, 2024
ff286ba
Merge pull request #11594 from vegaprotocol/11588-fix-panic
jeremyletang Aug 16, 2024
2a19672
chore: release preview 0.78.0-preview.3
jeremyletang Aug 16, 2024
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
18 changes: 0 additions & 18 deletions .vscode/launch.json

This file was deleted.

32 changes: 28 additions & 4 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,34 +4,58 @@

### 🚨 Breaking changes

- [](https://github.com/vegaprotocol/vega/issues/xxx)
- [8777](https://github.com/vegaprotocol/vega/issues/8777) - Stop orders can now be used to create or increase a position.

### 🗑️ Deprecation

- [](https://github.com/vegaprotocol/vega/issues/xxx)

### 🛠 Improvements

- [](https://github.com/vegaprotocol/vega/issues/xxx)
- [11428](https://github.com/vegaprotocol/vega/issues/11428) - Add buy back and treasury fee and separate discount/reward factors.
- [11468](https://github.com/vegaprotocol/vega/issues/11468) - Added support for volume rebate program.
- [11523](https://github.com/vegaprotocol/vega/issues/11523) - Change method of caching to improve `AMM` snapshot performance.
- [11426](https://github.com/vegaprotocol/vega/issues/11426) - `EstimateAMMBounds` now reports issues with commitment.
- [11459](https://github.com/vegaprotocol/vega/issues/11459) - Deprecate time weight position reward metric and replace it with time weighted notional.
- [11528](https://github.com/vegaprotocol/vega/issues/11528) - Added support for eligible entities reward.
- [11372](https://github.com/vegaprotocol/vega/issues/11372) - Support combined filters for the `AMM` API.
- [11535](https://github.com/vegaprotocol/vega/issues/11535) - Added support for lottery rank distribution strategy.
- [11536](https://github.com/vegaprotocol/vega/issues/11536) - Make the batch market instructions errors programmatically usable.
- [11546](https://github.com/vegaprotocol/vega/issues/11546) - Add validation to market proposals metadata.
- [11562](https://github.com/vegaprotocol/vega/issues/11562) - Update average notional metric with mark price at the end of the epoch and when calculating live score.
- [11570](https://github.com/vegaprotocol/vega/issues/11570) - Include the required set of parties for evaluation for eligible entities reward.
- [11576](https://github.com/vegaprotocol/vega/issues/11576) - Replace additional rebate validation with a cap.
- [11533](https://github.com/vegaprotocol/vega/issues/11533) - Suppose per party fee discounts in fee estimation.

### 🐛 Fixes

- [](https://github.com/vegaprotocol/vega/issues/xxx)
- [11521](https://github.com/vegaprotocol/vega/issues/11521) - Restore `AMM` position factor when loading from a snapshot.
- [11526](https://github.com/vegaprotocol/vega/issues/11526) - `EstimateAMMBounds` now respects the market's decimal places.
- [11486](https://github.com/vegaprotocol/vega/issues/11486) - `AMMs` can now be submitted on markets with more decimal places than asset decimal places.
- [11561](https://github.com/vegaprotocol/vega/issues/11561) - Failing amends on `AMMs` now restore original properly.
- [11583](https://github.com/vegaprotocol/vega/issues/11583) - Remove `AMMs` entirely from engine when market closes.
- [11568](https://github.com/vegaprotocol/vega/issues/11568) - order book shape on closing `AMM` no longer panics.
- [11540](https://github.com/vegaprotocol/vega/issues/11540) - Fix spam check for spots to use not double count quantum.
- [11542](https://github.com/vegaprotocol/vega/issues/11542) - Fix non determinism in lottery ranking.
- [11544](https://github.com/vegaprotocol/vega/issues/11544) - Fix empty candles stream.
- [11579](https://github.com/vegaprotocol/vega/issues/11579) - Spot calculate fee on amend, use order price if no amended price is provided.
- [11585](https://github.com/vegaprotocol/vega/issues/11585) - Initialise rebate stats service in API.


## 0.77.5

### 🐛 Fixes

- [11513](https://github.com/vegaprotocol/vega/issues/11513) - Rollback CometBFT to version `v0.38.8`.

- [11516](https://github.com/vegaprotocol/vega/issues/11516) - Fix order spam check for amends.

## 0.77.4

### 🐛 Fixes

- [11508](https://github.com/vegaprotocol/vega/issues/11508) - Handle market order for margin spam protection.
- [11507](https://github.com/vegaprotocol/vega/issues/11507) - Margin spam check to remove division by asset quantum.
- [11504](https://github.com/vegaprotocol/vega/issues/11504) - Fix bug causing panic when accounting for volume rounding with AMM orders.


## 0.77.3
Expand Down
2 changes: 2 additions & 0 deletions cmd/data-node/commands/start/node.go
Original file line number Diff line number Diff line change
Expand Up @@ -242,6 +242,8 @@ func (l *NodeCommand) createGRPCServer(config api.Config) *api.GRPCServer {
l.timeWeightedNotionalPositionService,
l.gameScoreService,
l.ammPoolsService,
l.volumeRebateStatsService,
l.volumeRebateProgramService,
)
return grpcServer
}
14 changes: 14 additions & 0 deletions cmd/data-node/commands/start/sqlsubscribers.go
Original file line number Diff line number Diff line change
Expand Up @@ -84,6 +84,8 @@ type SQLSubscribers struct {
timeWeightedNotionalPositionStore *sqlstore.TimeWeightedNotionalPosition
gameScoreStore *sqlstore.GameScores
ammPoolsStore *sqlstore.AMMPools
volumeRebateStatsStore *sqlstore.VolumeRebateStats
volumeRebateProgramsStore *sqlstore.VolumeRebatePrograms

// Services
candleService *candlesv2.Svc
Expand Down Expand Up @@ -142,6 +144,8 @@ type SQLSubscribers struct {
timeWeightedNotionalPositionService *service.TimeWeightedNotionalPosition
gameScoreService *service.GameScore
ammPoolsService *service.AMMPools
volumeRebateStatsService *service.VolumeRebateStats
volumeRebateProgramService *service.VolumeRebatePrograms

// Subscribers
accountSub *sqlsubscribers.Account
Expand Down Expand Up @@ -196,6 +200,8 @@ type SQLSubscribers struct {
timeWeightedNotionalPositionSub *sqlsubscribers.TimeWeightedNotionalPosition
gameScoreSub *sqlsubscribers.GameScore
ammPoolsSub *sqlsubscribers.AMMPools
volumeRebateStatsSub *sqlsubscribers.VolumeRebateStatsUpdated
volumeRebateProgramSub *sqlsubscribers.VolumeRebateProgram
}

func (s *SQLSubscribers) GetSQLSubscribers() []broker.SQLBrokerSubscriber {
Expand Down Expand Up @@ -254,6 +260,8 @@ func (s *SQLSubscribers) GetSQLSubscribers() []broker.SQLBrokerSubscriber {
s.timeWeightedNotionalPositionSub,
s.gameScoreSub,
s.ammPoolsSub,
s.volumeRebateProgramSub,
s.volumeRebateStatsSub,
}
}

Expand Down Expand Up @@ -317,6 +325,8 @@ func (s *SQLSubscribers) CreateAllStores(ctx context.Context, Log *logging.Logge
s.timeWeightedNotionalPositionStore = sqlstore.NewTimeWeightedNotionalPosition(transactionalConnectionSource)
s.gameScoreStore = sqlstore.NewGameScores(transactionalConnectionSource)
s.ammPoolsStore = sqlstore.NewAMMPools(transactionalConnectionSource)
s.volumeRebateStatsStore = sqlstore.NewVolumeRebateStats(transactionalConnectionSource)
s.volumeRebateProgramsStore = sqlstore.NewVolumeRebatePrograms(transactionalConnectionSource)
}

func (s *SQLSubscribers) SetupServices(ctx context.Context, log *logging.Logger, cfg service.Config, candlesConfig candlesv2.Config) error {
Expand Down Expand Up @@ -374,6 +384,8 @@ func (s *SQLSubscribers) SetupServices(ctx context.Context, log *logging.Logger,
s.timeWeightedNotionalPositionService = service.NewTimeWeightedNotionalPosition(s.timeWeightedNotionalPositionStore)
s.gameScoreService = service.NewGameScore(s.gameScoreStore, log)
s.ammPoolsService = service.NewAMMPools(s.ammPoolsStore)
s.volumeRebateStatsService = service.NewVolumeRebateStats(s.volumeRebateStatsStore)
s.volumeRebateProgramService = service.NewVolumeRebatePrograms(s.volumeRebateProgramsStore)

s.marketDepthService = service.NewMarketDepth(
cfg.MarketDepth,
Expand Down Expand Up @@ -455,5 +467,7 @@ func (s *SQLSubscribers) SetupSQLSubscribers() {
s.marginModesSub = sqlsubscribers.NewMarginModes(s.marginModesService)
s.timeWeightedNotionalPositionSub = sqlsubscribers.NewTimeWeightedNotionalPosition(s.timeWeightedNotionalPositionService)
s.gameScoreSub = sqlsubscribers.NewGameScore(s.gameScoreStore)
s.volumeRebateStatsSub = sqlsubscribers.NewVolumeRebateStatsUpdated(s.volumeRebateStatsService)
s.volumeRebateProgramSub = sqlsubscribers.NewVolumeRebateProgram(s.volumeRebateProgramService)
s.ammPoolsSub = sqlsubscribers.NewAMMPools(s.ammPoolsService, s.marketDepthService)
}
1 change: 1 addition & 0 deletions commands/errors.go
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@ var (
ErrMustBeLessThan150 = errors.New("must be less than 150")
ErrMustBeAtMost1M = errors.New("must be at most 1000000")
ErrMustBeAtMost100 = errors.New("must be at most 100")
ErrMustBeAtMost2048 = errors.New("must be at most 2048")
ErrMustBeWithinRange7 = errors.New("must be between -7 and 7")
ErrIsNotValid = errors.New("is not a valid value")
ErrIsNotValidWithOCO = errors.New("is not a valid with one cancel other")
Expand Down
Loading
Loading