Skip to content

Commit

Permalink
chore: remove needless log (#974)
Browse files Browse the repository at this point in the history
* Revert "chore: log EVM slot value error"

This reverts commit 1680d5c.

* Revert "chore: log EVM slot value error"

This reverts commit 799c3a5.

* patch bump
  • Loading branch information
pscott authored Nov 8, 2024
1 parent d9349a0 commit 7a85ef3
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 2 deletions.
5 changes: 5 additions & 0 deletions .changeset/great-nails-wink.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@snapshot-labs/sx": patch
---

Remove extraneous logs
1 change: 0 additions & 1 deletion packages/sx.js/src/strategies/starknet/evmSlotValue.ts
Original file line number Diff line number Diff line change
Expand Up @@ -132,7 +132,6 @@ export default function createEvmSlotValueStrategy(): Strategy {
try {
l1BlockNumber = await contract.cached_timestamps(timestamp);
} catch (e) {
console.log('failed with', e);
throw new VotingPowerDetailsError(
'Timestamp is not cached',
type,
Expand Down
1 change: 0 additions & 1 deletion packages/sx.js/src/utils/strategies.ts
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,6 @@ export async function getStrategiesWithParams(
params
};
} catch (e) {
console.log('failed with', e);
return null;
}
})
Expand Down

0 comments on commit 7a85ef3

Please sign in to comment.