GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — fix(withdrawal): remove UID Push transfers in v0.9.3 · gate/gate-cli@46af691

File tree

Expand file treeCollapse file tree
Open diff view settings
Filter options
  • README.md
  • cmd
    • cex
      • cex.go
      • withdrawal_retirement_test.go
      • withdrawal
        • withdrawal.go
        • withdrawal_test.go
    • command_contract_test.go
  • internal/version
    • release_test.go
    • version.go
  • tests
    • agentic
      • README.market-regressions.md
      • README.md
      • all_commands_test.go
      • fixtures
        • command_contracts.json
        • command_groups.json
      • release_version_test.go
      • withdrawal_retirement_test.go
    • contracts
      • cex.go
      • cex.json
Expand file treeCollapse file tree
Open diff view settings
Collapse file

‎README.md‎

Copy file name to clipboardExpand all lines: README.md
-2Lines changed: 0 additions & 2 deletions
  • Display the source diff
  • Display the rich diff
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,6 @@ API keys and secrets for **trading** are stored per profile (for example `gate-c
5454
### Account & Wallet
5555
- **Wallet** — balances, deposits, withdrawal records/status, transfers (main/sub/cross-chain), small balance conversion
5656
- **Account** — account detail, rate limits, STP groups, debit fee settings
57-
- **UID transfer** — push order between main spot accounts
5857

5958
### Ecosystem
6059
- **Rebate** — partner/broker/agency commissions and transaction history
@@ -284,7 +283,6 @@ gate-cli news prediction get-market-orderbook --venue polymarket --market-id 123
284283
| mcl | `gate-cli cex mcl` | Multi-collateral loans |
285284
| wallet | `gate-cli cex wallet` | Wallet & transfers |
286285
| account | `gate-cli cex account` | Account details & settings |
287-
| withdrawal | `gate-cli cex withdrawal` | UID transfers |
288286
| alpha | `gate-cli cex alpha` | Alpha token trading |
289287
| tradfi | `gate-cli cex tradfi` | CFD (MT5) trading |
290288
| stock | `gate-cli cex stock` | Stock market, orders, positions and assets |
Collapse file

‎cmd/cex/cex.go‎

Copy file name to clipboardExpand all lines: cmd/cex/cex.go
-2Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,6 @@ import (
2424
"github.com/gate/gate-cli/cmd/cex/tradfi"
2525
"github.com/gate/gate-cli/cmd/cex/unified"
2626
"github.com/gate/gate-cli/cmd/cex/wallet"
27-
"github.com/gate/gate-cli/cmd/cex/withdrawal"
2827
)
2928

3029
// Cmd is the parent command for CEX API command groups (spot, futures, wallet, …).
@@ -58,7 +57,6 @@ func init() {
5857
// CrossEx, P2P, activity, coupon and welfare implementations are retained,
5958
// but are not published in this release. The API transport also denies them.
6059
Cmd.AddCommand(rebate.Cmd)
61-
Cmd.AddCommand(withdrawal.Cmd)
6260
Cmd.AddCommand(square.Cmd)
6361
Cmd.AddCommand(assetswap.Cmd)
6462
Cmd.AddCommand(bot.Cmd)
Collapse file

‎cmd/cex/withdrawal/withdrawal.go‎

Copy file name to clipboardExpand all lines: cmd/cex/withdrawal/withdrawal.go
-64Lines changed: 0 additions & 64 deletions
This file was deleted.
Collapse file

‎cmd/cex/withdrawal/withdrawal_test.go‎

Copy file name to clipboardExpand all lines: cmd/cex/withdrawal/withdrawal_test.go
-52Lines changed: 0 additions & 52 deletions
This file was deleted.
Collapse file

‎cmd/cex/withdrawal_retirement_test.go‎

Copy file name to clipboardExpand all lines: cmd/cex/withdrawal_retirement_test.go
+2-1Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,14 +5,15 @@ import "testing"
55
// Cached command paths must no longer resolve to financial handlers. Retained
66
// wallet reads guard against removing their parent groups with the write leaves.
77
func TestWithdrawalRetirementRegistration(t *testing.T) {
8-
for _, leaf := range []string{"create", "cancel"} {
8+
for _, leaf := range []string{"create", "cancel", "push-order"} {
99
command, rest, err := Cmd.Find([]string{"withdrawal", leaf})
1010
if err == nil && len(rest) == 0 && command.Runnable() {
1111
t.Errorf("removed withdrawal leaf still registered: %s", leaf)
1212
}
1313
}
1414
for _, path := range [][]string{
1515
{"wallet", "deposit", "withdrawals"},
16+
{"wallet", "deposit", "push-orders"},
1617
{"wallet", "market", "withdraw-status"},
1718
{"wallet", "deposit", "address"},
1819
{"wallet", "transfer", "create"},
Collapse file

‎cmd/command_contract_test.go‎

Copy file name to clipboardExpand all lines: cmd/command_contract_test.go
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ func loadCommandContracts(t *testing.T) []commandContract {
3535
require.NoError(t, err)
3636
var cases []commandContract
3737
require.NoError(t, json.Unmarshal(raw, &cases))
38-
require.Len(t, cases, 409)
38+
require.Len(t, cases, 408)
3939
if agentfeature.Commands {
4040
raw, err := os.ReadFile("../tests/agentic/fixtures/agent_command_contracts.json")
4141
require.NoError(t, err)
Collapse file

‎internal/version/release_test.go‎

Copy file name to clipboardExpand all lines: internal/version/release_test.go
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ import "testing"
55
// Pin the intended release independently of the implementation so a source
66
// version bump cannot leave the default artifact or details at the old release.
77
func TestDefaultReleaseVersion(t *testing.T) {
8-
const want = "v0.9.2"
8+
const want = "v0.9.3"
99
if Version != want || Details().Version != want {
1010
t.Fatalf("release version=%q details=%q, want %q", Version, Details().Version, want)
1111
}
Collapse file

‎internal/version/version.go‎

Copy file name to clipboardExpand all lines: internal/version/version.go
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,4 @@ package version
22

33
// Version is the gate-cli release version.
44
// Set at build time via: -ldflags "-X github.com/gate/gate-cli/internal/version.Version=x.y.z"
5-
var Version = "v0.9.2"
5+
var Version = "v0.9.3"
Collapse file

‎tests/agentic/README.market-regressions.md‎

Copy file name to clipboardExpand all lines: tests/agentic/README.market-regressions.md
+1-1Lines changed: 1 addition & 1 deletion
  • Display the source diff
  • Display the rich diff
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ GOMAXPROCS=2 go test -p 2 -tags 'agentic_e2e integration' ./tests/agentic -run '
5656

5757
## 全命令组未知子路径
5858

59-
command_groups_test.go复用真实TestMain/runCLI,以独立fixtures/command_groups.json覆盖101个可见组(含root/default completion、84个CEX子组、config/Info/News)。每组覆盖json/pretty/table下未知子命令exit1、stdout空和明确unknown command,以及裸组正确帮助exit0;API peer计数必须为0。另覆盖未注册的组内help、help=false、flag值/分隔符、根级help、alias、动态补全和真实配置叶子位置参数落盘。cmd/command_groups_test.go将真实命令树与fixture比较,未来增删组须同步审查契约。
59+
command_groups_test.go复用真实TestMain/runCLI,以独立fixtures/command_groups.json覆盖100个可见组(含root/default completion、83个CEX子组、config/Info/News)。每组覆盖json/pretty/table下未知子命令exit1、stdout空和明确unknown command,以及裸组正确帮助exit0;API peer计数必须为0。另覆盖未注册的组内help、help=false、flag值/分隔符、根级help、alias、动态补全和真实配置叶子位置参数落盘。cmd/command_groups_test.go将真实命令树与fixture比较,未来增删组须同步审查契约。
6060

6161
```sh
6262
# 统一路由、格式、真实全树清单及既有帮助边界单元。
Collapse file

‎tests/agentic/README.md‎

Copy file name to clipboardExpand all lines: tests/agentic/README.md
+4-4Lines changed: 4 additions & 4 deletions
  • Display the source diff
  • Display the rich diff
Original file line numberDiff line numberDiff line change
@@ -16,15 +16,15 @@ The suite covers normal responses, invalid inputs, missing credentials, resource
1616

1717
`withdrawal_retirement_test.go` runs the real CLI with isolated profiles and
1818
synthetic anonymous/HMAC/OAuth/combined credentials. Cached withdrawal creation
19-
and cancellation paths, complete old arguments, missing arguments, unknown flags,
19+
cancellation and UID Push paths, complete old arguments, missing arguments, unknown flags,
2020
direct help and `help` paths must fail without an API call. Help and completion
21-
must retain UID transfers and omit the removed leaves. Only the remote peer and
21+
must retain the wallet group and omit the retired withdrawal group. Only the remote peer and
2222
credentials are replaced; parsing, discovery, exit codes and process execution
2323
remain real.
2424

25-
The shared command and HTTP fixtures remove only these two positive contracts.
25+
The shared command and HTTP fixtures remove the three retired positive contracts.
2626
`TestAllCEXCommandContracts`, input/dependency-failure cases and the existing
27-
handler unit suite continue to exercise UID transfers, withdrawal queries and
27+
handler unit suite continue to exercise UID transfer history, withdrawal queries and
2828
all other retained operations. `make test-cli` runs both standard and Agent
2929
variants through the existing unified entry point.
3030

0 commit comments

Comments
0 (0)
You are visitor 01402792 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.