Skip to content

Commit e80cda1

Browse files
committed
implement SignRequest interface
1 parent e6a1029 commit e80cda1

File tree

2 files changed

+5
-0
lines changed

2 files changed

+5
-0
lines changed

protocol/smartrollups/etherlink/blueprint.go

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,8 @@ type UnsignedSequencerBlueprint struct {
1616
ChainID *big.Int
1717
}
1818

19+
func (*UnsignedSequencerBlueprint) SignRequestKind() string { return "sequencer_blueprint" }
20+
1921
func parseUnsignedSequencerBlueprint(list []rlp.Stream, res *UnsignedSequencerBlueprint) error {
2022
if len(list) != 4 && len(list) != 5 {
2123
return fmt.Errorf("invalid RLP list length: %d", len(list))

protocol/smartrollups/etherlink/dal_slot_import_signal.go

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,9 @@ type DALSlotImportSignals struct {
1313
}
1414

1515
type UnsignedDALSlotSignals []*DALSlotIndicesOfLevel
16+
17+
func (UnsignedDALSlotSignals) SignRequestKind() string { return "sequencer_signal" }
18+
1619
type DALSlotIndicesOfLevel struct {
1720
PublishedLevel uint32
1821
SlotIndices []uint8

0 commit comments

Comments
 (0)