Skip to content

Commit

Permalink
tools: block generator inner transactions (#5506)
Browse files Browse the repository at this point in the history
  • Loading branch information
tzaffi committed Jun 30, 2023
1 parent 0bc522d commit 5ed50c4
Show file tree
Hide file tree
Showing 11 changed files with 792 additions and 615 deletions.
2 changes: 1 addition & 1 deletion tools/block-generator/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ SKIP = --skip-runner
RESETDB = --reset-db
REPORTS = ../../tmp/RUN_RUNNER_OUTPUTS
DURATION = 30s
VERBOSE = # --verbose
VERBOSE = --verbose

block-generator: clean-generator
go build
Expand Down
9 changes: 3 additions & 6 deletions tools/block-generator/generator/config.go
Original file line number Diff line number Diff line change
Expand Up @@ -70,9 +70,9 @@ const (
appBoxesClose TxTypeID = "app_boxes_close"
appBoxesClear TxTypeID = "app_boxes_clear"

// Special TxTypeID's recording effects of higher level transactions
effectPaymentTxSibling TxTypeID = "effect_payment_sibling"
effectInnerTx TxTypeID = "effect_inner_tx"
// For reporting side-effects of higher level transactions
effectPaymentTxSibling = "effect_payment_sibling"
effectInnerTx = "effect_inner_tx"

// Defaults
defaultGenesisAccountsCount uint64 = 1000
Expand All @@ -81,9 +81,6 @@ const (
assetTotal uint64 = 100_000_000_000_000_000 // 100 billion units per asset

consensusTimeMilli int64 = 3300

// TODO: do we still need this as can get it from the Ledger?
startingTxnCounter uint64 = 1000
)

type appKind uint8
Expand Down

0 comments on commit 5ed50c4

Please sign in to comment.