Skip to content

Commit

Permalink
Merge pull request #250 from multiversx/merge_rc160_into_feat_refacto…
Browse files Browse the repository at this point in the history
…r_enable_epochs_handler_2023.08.16

Merge rc160 into feat refactor enable epochs handler 2023.08.16
  • Loading branch information
sstanculeanu authored Aug 16, 2023
2 parents c57a59e + a72af3e commit e993142
Show file tree
Hide file tree
Showing 5 changed files with 739 additions and 205 deletions.
72 changes: 57 additions & 15 deletions data/outport/config.pb.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 2 additions & 1 deletion data/outport/config.proto
Original file line number Diff line number Diff line change
Expand Up @@ -8,5 +8,6 @@ option (gogoproto.stable_marshaler_all) = true;
import "github.com/gogo/protobuf/gogoproto/gogo.proto";

message OutportConfig {
bool IsInImportDBMode = 1 [(gogoproto.jsontag) = "isInImportDBMode"];
uint32 ShardID = 1 [(gogoproto.jsontag) = "shardID"];
bool IsInImportDBMode = 2 [(gogoproto.jsontag) = "isInImportDBMode"];
}
8 changes: 5 additions & 3 deletions data/outport/outportBlock.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ package outport

import (
"github.com/multiversx/mx-chain-core-go/data"
"github.com/multiversx/mx-chain-core-go/data/block"
)

// OutportBlockWithHeader will extend the OutportBlock structure
Expand All @@ -14,9 +15,10 @@ type OutportBlockWithHeader struct {

// HeaderDataWithBody holds header and body data
type HeaderDataWithBody struct {
Body data.BodyHandler
Header data.HeaderHandler
HeaderHash []byte
Body data.BodyHandler
Header data.HeaderHandler
IntraShardMiniBlocks []*block.MiniBlock
HeaderHash []byte
}

// OutportBlockWithHeaderAndBody is a wrapper for OutportBlock used for outport handler
Expand Down
Loading

0 comments on commit e993142

Please sign in to comment.