Skip to content

Commit 88acbb7

Browse files
committed
fix(e2e): run gofmt on generated pda.go and add it to generate-pda recipe
Fixes var block alignment and adds gofmt -w step to `just generate-pda` so future regenerations produce properly formatted output.
1 parent 504d674 commit 88acbb7

File tree

2 files changed

+75
-9
lines changed

2 files changed

+75
-9
lines changed

e2e/interchaintestv8/solana/pda.go

Lines changed: 74 additions & 9 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

justfile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -836,6 +836,7 @@ generate-pda:
836836
go run e2e/interchaintestv8/solana/generate-pdas/main.go \
837837
--idl-dir programs/solana/target/idl \
838838
--output e2e/interchaintestv8/solana/pda.go
839+
gofmt -w e2e/interchaintestv8/solana/pda.go
839840
@echo "✅ Generated e2e/interchaintestv8/solana/pda.go"
840841

841842
# Generate the fixtures for the wasm tests using the e2e tests

0 commit comments

Comments
 (0)