Skip to content

Commit

Permalink
template fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
alistair-singh committed Dec 20, 2024
1 parent 6b984bf commit ad9e7fb
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
4 changes: 2 additions & 2 deletions relayer/cmd/generate_beacon_data.go
Original file line number Diff line number Diff line change
Expand Up @@ -105,9 +105,9 @@ type InboundFixture struct {

const (
pathToBeaconTestFixtureFiles = "polkadot-sdk/bridges/snowbridge/pallets/ethereum-client/tests/fixtures"
pathToInboundQueueFixtureTemplate = "polkadot-sdk/bridges/snowbridge/templates/beacon-fixtures.mustache"
pathToInboundQueueFixtureTemplate = "relayer/templates/beacon-fixtures.mustache"
pathToInboundQueueFixtureData = "polkadot-sdk/bridges/snowbridge/pallets/ethereum-client/fixtures/src/lib.rs"
pathToInboundQueueFixtureTestCaseTemplate = "polkadot-sdk/bridges/snowbridge/templates/inbound-fixtures.mustache"
pathToInboundQueueFixtureTestCaseTemplate = "relayer/templates/inbound-fixtures.mustache"
pathToInboundQueueFixtureTestCaseData = "polkadot-sdk/bridges/snowbridge/pallets/inbound-queue/fixtures/src/%s.rs"
)

Expand Down
2 changes: 0 additions & 2 deletions relayer/templates/inbound-fixtures.mustache
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,6 @@ pub fn make_{{TestCase}}_message() -> InboundQueueFixture {
data: hex!("{{InboundMessage.EventLog.Data}}").into(),
},
proof: Proof {
block_hash: hex!("{{InboundMessage.Proof.BlockHash}}").into(),
tx_index: {{InboundMessage.Proof.TxIndex}},
receipt_proof: (vec![
{{#InboundMessage.Proof.ReceiptProof.Keys}}
hex!("{{.}}").to_vec(),
Expand Down

0 comments on commit ad9e7fb

Please sign in to comment.