🎨 Palette: Fix backend CI failures

- Added `//go:build ignore` to standalone scripts in `scripts/` to prevent redeclaration of `main`.
- Fixed redundant newline in `fmt.Println` in `cmd/lighter_test/main.go`.
- Updated `trader/hyperliquid/trader_test.go` to match the actual error message phrasing.

Co-authored-by: tinkle-community <240652709+tinkle-community@users.noreply.github.com>
This commit is contained in:
google-labs-jules[bot]
2026-02-05 16:11:02 +00:00
parent 6c26f9eb95
commit f63eab72f7
7 changed files with 12 additions and 2 deletions

View File

@@ -75,7 +75,7 @@ func main() {
fmt.Printf("ERROR: Failed to create TxClient: %v\n", err)
os.Exit(1)
}
fmt.Println("SUCCESS: TxClient created\n")
fmt.Println("SUCCESS: TxClient created")
// Step 3: Generate auth token
fmt.Println("Step 3: Generating auth token...")

View File

@@ -1,3 +1,5 @@
//go:build ignore
package main
import (

View File

@@ -1,3 +1,5 @@
//go:build ignore
package main
import (

View File

@@ -1,3 +1,5 @@
//go:build ignore
package main
import (

View File

@@ -1,3 +1,5 @@
//go:build ignore
package main
import (

View File

@@ -1,3 +1,5 @@
//go:build ignore
package main
import (

View File

@@ -283,7 +283,7 @@ func TestNewHyperliquidTrader(t *testing.T) {
walletAddr: "0x1234567890123456789012345678901234567890",
testnet: true,
wantError: true,
errorContains: "Failed to parse private key",
errorContains: "failed to parse private key",
},
{
name: "Empty wallet address",