From 6d76469dd709c002cfd78dfa8018c7f5c9d23efa Mon Sep 17 00:00:00 2001 From: AnkushinDaniil Date: Thu, 9 Jan 2025 16:40:37 +0900 Subject: [PATCH] Fix rebase issues --- adapters/p2p2core/receipt_test.go | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/adapters/p2p2core/receipt_test.go b/adapters/p2p2core/receipt_test.go index 96073f3b03..fa3257ece4 100644 --- a/adapters/p2p2core/receipt_test.go +++ b/adapters/p2p2core/receipt_test.go @@ -4,7 +4,7 @@ import ( "testing" "github.com/NethermindEth/juno/adapters/p2p2core" - "github.com/NethermindEth/juno/p2p/starknet/spec" + "github.com/NethermindEth/juno/p2p/gen" "github.com/NethermindEth/juno/utils" "github.com/stretchr/testify/assert" ) @@ -12,10 +12,10 @@ import ( func TestAdaptReceipt(t *testing.T) { t.Run("successful", func(t *testing.T) { hash := utils.HexToFelt(t, "0xCAFEBABE") - receipt := &spec.Receipt{ - Type: &spec.Receipt_L1Handler_{ - L1Handler: &spec.Receipt_L1Handler{ - Common: &spec.Receipt_Common{ + receipt := &gen.Receipt{ + Type: &gen.Receipt_L1Handler_{ + L1Handler: &gen.Receipt_L1Handler{ + Common: &gen.Receipt_Common{ RevertReason: nil, }, }, @@ -30,10 +30,10 @@ func TestAdaptReceipt(t *testing.T) { for _, reason := range reasons { hash := utils.HexToFelt(t, "0xCAFEDEAD") - receipt := &spec.Receipt{ - Type: &spec.Receipt_L1Handler_{ - L1Handler: &spec.Receipt_L1Handler{ - Common: &spec.Receipt_Common{ + receipt := &gen.Receipt{ + Type: &gen.Receipt_L1Handler_{ + L1Handler: &gen.Receipt_L1Handler{ + Common: &gen.Receipt_Common{ RevertReason: utils.Ptr(reason), }, },