Skip to content

Commit

Permalink
Fix table and fetching expected results
Browse files Browse the repository at this point in the history
  • Loading branch information
seanmcgary committed Oct 29, 2024
1 parent b4e7a73 commit 469bc8e
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ func (m *Migration) Up(db *sql.DB, grm *gorm.DB) error {
log_index bigint not null,
block_time timestamp not null,
block_date varchar not null,
block_number bigint not null,
block_number bigint not null
)`,
}
for _, query := range queries {
Expand Down
2 changes: 1 addition & 1 deletion internal/tests/testdata/fetchExpectedResults.sh
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ if [[ $NETWORK == "testnet-reduced" ]]; then
sqlFileName="testnetReduced_${sqlFileName}"
fi

for d in operatorShareSnapshots stakerShareSnapshots; do
for d in 7_goldStaging operatorAvsRegistrationSnapshots operatorRestakedStrategies operatorShareSnapshots stakerDelegationSnapshots stakerShareSnapshots; do
echo "Processing directory: $d"
if [[ $d == "7_goldStaging" ]]; then
files=$(ls "./${d}" | grep "_generateExpectedResults_")
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
COPY (
select *
FROM dbt_mainnet_ethereum_rewards.operator_share_snapshots
where snapshot < '2024-08-13'
where snapshot < '2024-08-12'
) TO STDOUT WITH DELIMITER ',' CSV HEADER

0 comments on commit 469bc8e

Please sign in to comment.