Skip to content

Commit

Permalink
Remove Debug Statements
Browse files Browse the repository at this point in the history
  • Loading branch information
joelsmith-2019 committed Oct 24, 2024
1 parent 656db45 commit 81a7c59
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 16 deletions.
4 changes: 0 additions & 4 deletions node/pkg/accountant/watcher.go
Original file line number Diff line number Diff line change
Expand Up @@ -102,10 +102,6 @@ func (acct *Accountant) handleEvents(ctx context.Context, evts <-chan tmCoreType

for _, event := range tx.Result.Events {

// TODO: JOEL - REMOVE
fmt.Println("event.Type", event.Type)
fmt.Println("event.Attributes", event.Attributes)

if event.Type == "wasm-Observation" {
evt, err := parseEvent[WasmObservation](acct.logger, event, "wasm-Observation", contract)
if err != nil {
Expand Down
12 changes: 0 additions & 12 deletions wormchain/contracts/tools/__tests__/test_ntt_accountant.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1155,9 +1155,6 @@ describe("NTT Global Accountant Tests", () => {
CONTRACTS.DEVNET.bsc.core
);

// TODO: JOEL - REMOVE
console.log('JOEL: Awaiting signed VAA #c');

// poll until the guardian(s) witness and sign the vaa
await getSignedVAAWithRetry(
GUARDIAN_RPCS,
Expand All @@ -1171,9 +1168,6 @@ describe("NTT Global Accountant Tests", () => {
30
);

// TODO: JOEL - REMOVE
console.log('JOEL: Awaiting metrics change #c');

await waitForMetricsChange(
(afterMetrics) =>
afterMetrics.global_accountant_events_received <=
Expand Down Expand Up @@ -1239,9 +1233,6 @@ describe("NTT Global Accountant Tests", () => {
CONTRACTS.DEVNET.bsc.core
);

// TODO: JOEL - REMOVE
console.log('JOEL: Awaiting signed VAA #d');

// poll until the guardian(s) witness and sign the vaa
await getSignedVAAWithRetry(
GUARDIAN_RPCS,
Expand All @@ -1254,9 +1245,6 @@ describe("NTT Global Accountant Tests", () => {
1000,
30
);

// TODO: JOEL - REMOVE
console.log('JOEL: Awaiting metrics change #d');

await waitForMetricsChange(
(afterMetrics) =>
Expand Down

0 comments on commit 81a7c59

Please sign in to comment.