Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
43 commits
Select commit Hold shift + click to select a range
2b5ee62
ci: update Unified CI configuration (#78)
web3-bot Jul 19, 2023
d4b4cd4
Remove autobump and update version.json (#122)
xinaxu Jul 26, 2023
128a493
chore(version): update for v0.3.0
hannahhoward Aug 25, 2023
0b01a45
Fix version file not matching latest release
masih Sep 5, 2023
2f0763a
Update version.json to v0.4.0 (#279)
xinaxu Sep 8, 2023
beac7a3
Update version to v0.4.1 (#288)
xinaxu Sep 8, 2023
7400010
Bump version to v0.5.0 (#343)
xinaxu Sep 21, 2023
0473f8c
new version (#380)
gammazero Oct 12, 2023
3102b49
Update version.json to v0.5.2 (#390)
xinaxu Oct 17, 2023
69056e6
Update version.json to v0.5.3 (#397)
xinaxu Oct 19, 2023
215ae09
Update version.json (#400)
xinaxu Oct 23, 2023
f15d08a
Update version.json to v0.5.5 (#403)
xinaxu Oct 24, 2023
20f3546
Update version (#407)
gammazero Oct 27, 2023
694d8d7
Update version.json to v0.5.7 (#409)
xinaxu Oct 31, 2023
b9c0c06
Update version (#414)
gammazero Nov 3, 2023
c8dc8d2
New release version (#422)
gammazero Nov 9, 2023
199de37
Update version.json to 0.5.10 (#424)
xinaxu Nov 17, 2023
3a4d20e
Update version.json (#426)
xinaxu Dec 6, 2023
ffa6dce
bump version to v0.5.12 (#429)
xinaxu Feb 7, 2024
01e86f8
Bump version to v0.5.13 (#432)
xinaxu Mar 7, 2024
2b66f5a
Update version.json (#435)
xinaxu Apr 29, 2024
77e5fdf
Update version.json to v0.5.15 (#442)
ianconsolata Jul 24, 2024
5ca2f28
Bump version.json to 0.5.16 (#445)
ianconsolata Jul 27, 2024
85eb594
v0.5.17 release
parkan Feb 14, 2025
67f32c0
retry workflow
parkan Feb 14, 2025
0e679e4
Add create wallet handler, cmd, and API #469
zachfedor Apr 4, 2025
d220ffd
Run linter
zachfedor Apr 4, 2025
fa12700
Refactor create wallet handler for offline key generation
zachfedor Apr 23, 2025
c55cd30
Run fmt
zachfedor Apr 23, 2025
8c568dc
Generate swagger docs
zachfedor Apr 24, 2025
e422307
Create versioned migration process
zachfedor May 12, 2025
9731593
Fix versioned migration schemas
zachfedor May 20, 2025
aee7180
Generate docs
zachfedor May 20, 2025
6b909f9
feat: add `admin migrate which` command
zachfedor May 22, 2025
42ff511
fix: tests
zachfedor Jun 6, 2025
6850d47
feat: better documentation of create cmd
zachfedor Jun 6, 2025
b4fde8f
fix: lint errors
zachfedor Jun 6, 2025
0cc4bb4
Update generated storage types file
zachfedor Jun 6, 2025
1316f6d
chore: fix go check (#518)
zachfedor Jun 17, 2025
35a1c5a
Redact private key from CreateWallet response and add test for redaction
Jun 19, 2025
9f312e3
Resolve merge conflict: keep version.json at v0.6.0-RC3
Jun 19, 2025
0d1d5e2
Fix: Add space after comment slashes for gocritic
Jun 19, 2025
dc15f5a
Merge branch 'main' into pr-517
Sankara-Jefferson Jun 20, 2025
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
14 changes: 14 additions & 0 deletions api/api_test.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
package api

import (
Expand Down Expand Up @@ -312,6 +312,20 @@
require.True(t, resp.IsSuccess())
require.NotNil(t, resp.Payload)
})


t.Run("CreateWallet_privateKeyShouldBeRedacted", func(t *testing.T) {
resp, err := client.Wallet.CreateWallet(&wallet2.CreateWalletParams{
Request: &models.WalletCreateRequest{
KeyType: "bls",
},
Context: ctx,
})
require.NoError(t, err)
require.True(t, resp.IsSuccess())
require.NotNil(t, resp.Payload)
require.Empty(t, resp.Payload.PrivateKey, "Private key should be redacted from response")
})
t.Run("ImportWallet", func(t *testing.T) {
resp, err := client.Wallet.ImportWallet(&wallet2.ImportWalletParams{
Request: &models.WalletImportRequest{},
Expand Down
3 changes: 3 additions & 0 deletions handler/wallet/create.go
Original file line number Diff line number Diff line change
Expand Up @@ -150,5 +150,8 @@ func (DefaultHandler) CreateHandler(
return nil, errors.WithStack(err)
}

// Redacting private Keys before returning
wallet.PrivateKey = ""

return &wallet, nil
}
2 changes: 1 addition & 1 deletion version.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{
}
"version": "v0.6.0-RC3"
}

Loading