Skip to content

Commit

Permalink
fix: integration test v2 payment table deploy
Browse files Browse the repository at this point in the history
  • Loading branch information
hopeyen committed Dec 18, 2024
1 parent 2ef01d5 commit 54a2645
Showing 1 changed file with 19 additions and 0 deletions.
19 changes: 19 additions & 0 deletions inabox/deploy/localstack.go
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ import (

"github.com/Layr-Labs/eigenda/common/aws"
"github.com/Layr-Labs/eigenda/common/store"
"github.com/Layr-Labs/eigenda/core/meterer"
"github.com/Layr-Labs/eigenda/disperser/common/blobstore"
blobstorev2 "github.com/Layr-Labs/eigenda/disperser/common/v2/blobstore"
"github.com/ory/dockertest/v3"
Expand Down Expand Up @@ -142,6 +143,24 @@ func DeployResources(
}
}

v2PaymentName := "e2e_v2_"
// create payment related tables
err = meterer.CreateReservationTable(cfg, v2PaymentName+"reservation")
if err != nil {
fmt.Println("err", err)
return err
}
err = meterer.CreateOnDemandTable(cfg, v2PaymentName+"ondemand")
if err != nil {
fmt.Println("err", err)
return err
}
err = meterer.CreateGlobalReservationTable(cfg, v2PaymentName+"global_reservation")
if err != nil {
fmt.Println("err", err)
return err
}

return err

}
Expand Down

0 comments on commit 54a2645

Please sign in to comment.