Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
20 commits
Select commit Hold shift + click to select a range
c631e9a
Fix ledger.Eval comment
algorandskiy Feb 14, 2022
c83482e
improve TestAccountInformationV2
tsachiherman Feb 14, 2022
f3fea11
remove Parallel from txnproofs and fix timeout bug
Feb 14, 2022
af8db7a
Merge pull request #3624 from tsachiherman/tsachi/betterTestAccountIn…
tsachiherman Feb 14, 2022
a4d7432
pushing timeout up to 30 sec
Feb 14, 2022
4911f59
fix bug in TestAssetGroupCreateSendDestroy
tsachiherman Feb 15, 2022
2e2f638
better writing
tsachiherman Feb 15, 2022
10a5401
Merge pull request #3628 from algoidan/remove-parallel-from-testtxnme…
tsachiherman Feb 15, 2022
04e69d4
Merge pull request #3631 from tsachiherman/tsachi/fixTestAssetGroupCr…
tsachiherman Feb 15, 2022
0a279e9
set gotestsum format to standard-verbose so you can see which test wa…
cce Feb 15, 2022
664a7e5
Merge pull request #3623 from algorandskiy/pavel/ledger-comment
tsachiherman Feb 15, 2022
c6c6e8b
DevOps: Fix bandwidth testing (#3638)
egieseke Feb 16, 2022
cbf1939
Merge pull request #3634 from cce/show-slow-tests
cce Feb 16, 2022
6ce1a15
add StateProofID to AccountData.ClearOnlineState()
cce Feb 16, 2022
4afd11c
update TestExpiredAccountGeneration to make random online account data
cce Feb 16, 2022
7c04490
add unit test
tsachiherman Feb 16, 2022
fb1d9c0
Support logs and Inner transactions in tealdbg (#3547)
algochoi Feb 17, 2022
468d34b
Merge pull request #3643 from cce/ClearOnlineState-StateProofID
tsachiherman Feb 17, 2022
906d661
Merge branch 'master' into relbeta3.4.1
Algo-devops-service Feb 17, 2022
b936369
Update the Version, BuildNumber, genesistimestamp.data
Algo-devops-service Feb 17, 2022
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -321,7 +321,7 @@ commands:
export PACKAGE_NAMES=$(echo $PACKAGES | tr -d '\n')
export PARTITION_TOTAL=${CIRCLE_NODE_TOTAL}
export PARTITION_ID=${CIRCLE_NODE_INDEX}
gotestsum --format testname --junitfile << parameters.result_path >>/<< parameters.result_subdir >>/${CIRCLE_NODE_INDEX}/results.xml --jsonfile << parameters.result_path >>/<< parameters.result_subdir >>/${CIRCLE_NODE_INDEX}/testresults.json -- --tags "sqlite_unlock_notify sqlite_omit_load_extension" << parameters.short_test_flag >> -race -timeout 1h -coverprofile=coverage.txt -covermode=atomic -p 1 $PACKAGE_NAMES
gotestsum --format standard-verbose --junitfile << parameters.result_path >>/<< parameters.result_subdir >>/${CIRCLE_NODE_INDEX}/results.xml --jsonfile << parameters.result_path >>/<< parameters.result_subdir >>/${CIRCLE_NODE_INDEX}/testresults.json -- --tags "sqlite_unlock_notify sqlite_omit_load_extension" << parameters.short_test_flag >> -race -timeout 1h -coverprofile=coverage.txt -covermode=atomic -p 1 $PACKAGE_NAMES
- store_artifacts:
path: << parameters.result_path >>
destination: test-results
Expand Down
2 changes: 1 addition & 1 deletion buildnumber.dat
Original file line number Diff line number Diff line change
@@ -1 +1 @@
0
1
4 changes: 2 additions & 2 deletions cmd/tealdbg/cdtSession.go
Original file line number Diff line number Diff line change
Expand Up @@ -169,7 +169,7 @@ func (s *cdtSession) websocketHandler(w http.ResponseWriter, r *http.Request) {
state.Update(cdtStateUpdate{
dbgState.Stack, dbgState.Scratch,
0, 0, "",
s.debugger.GetStates(nil),
dbgState.OpcodeBudget, s.debugger.GetStates(nil),
})

hash := sha256.Sum256([]byte(state.disassembly)) // some random hash
Expand Down Expand Up @@ -247,7 +247,7 @@ func (s *cdtSession) websocketHandler(w http.ResponseWriter, r *http.Request) {
state.Update(cdtStateUpdate{
dbgState.Stack, dbgState.Scratch,
dbgState.PC, dbgState.Line, dbgState.Error,
appState,
dbgState.OpcodeBudget, appState,
})
dbgStateMu.Unlock()

Expand Down
39 changes: 39 additions & 0 deletions cmd/tealdbg/cdtSession_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -527,6 +527,42 @@ func TestCdtSessionGetObjects(t *testing.T) {
},
},
},
logs: []string{"test log 1", "test log 2"},
innerTxns: []transactions.SignedTxnWithAD{
{
SignedTxn: transactions.SignedTxn{
Txn: transactions.Transaction{
Type: protocol.ApplicationCallTx,
ApplicationCallTxnFields: transactions.ApplicationCallTxnFields{
ApplicationArgs: [][]byte{{0, 1, 2, 3}},
},
},
},
ApplyData: transactions.ApplyData{
EvalDelta: transactions.EvalDelta{
InnerTxns: transactions.WrapSignedTxnsWithAD([]transactions.SignedTxn{
{
Txn: transactions.Transaction{
Type: protocol.PaymentTx,
Header: transactions.Header{
Sender: basics.Address{}, Fee: basics.MicroAlgos{Raw: 1000}, FirstValid: 10,
},
},
},
{
Txn: transactions.Transaction{
Type: protocol.ApplicationCallTx,
ApplicationCallTxnFields: transactions.ApplicationCallTxnFields{
ApplicationArgs: [][]byte{{0, 1, 2, 3}},
},
},
},
}),
Logs: []string{"test nested log"},
},
},
},
},
},
}

Expand Down Expand Up @@ -555,6 +591,9 @@ func TestCdtSessionGetObjects(t *testing.T) {
encodeAppLocalsAddr(basics.Address{}.String()),
encodeAppGlobalAppID("0"), encodeAppGlobalAppID("1"),
encodeAppLocalsAppID(basics.Address{}.String(), "1"),
encodeLogsID([]int{0}), encodeLogsID([]int{0, 1}),
encodeInnerTxnID([]int{0}), encodeInnerTxnID([]int{0, 0}),
encodeInnerTxnID([]int{0, 1}),
}
for _, k := range objIds {
req.Params = map[string]interface{}{"objectId": k, "generatePreview": true}
Expand Down
Loading