Skip to content

Conversation

@barnjamin
Copy link
Contributor

addresses #4632

@codecov
Copy link

codecov bot commented Oct 11, 2022

Codecov Report

Merging #4633 (844e2ca) into master (30a7209) will increase coverage by 0.05%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##           master    #4633      +/-   ##
==========================================
+ Coverage   54.32%   54.37%   +0.05%     
==========================================
  Files         402      402              
  Lines       51793    51793              
==========================================
+ Hits        28134    28160      +26     
+ Misses      21289    21271      -18     
+ Partials     2370     2362       -8     
Impacted Files Coverage Δ
daemon/algod/api/server/v2/handlers.go 0.00% <ø> (ø)
catchup/service.go 69.38% <0.00%> (-0.75%) ⬇️
ledger/accountdb.go 73.03% <0.00%> (+0.15%) ⬆️
network/wsNetwork.go 64.76% <0.00%> (+0.19%) ⬆️
ledger/acctonline.go 78.64% <0.00%> (+0.52%) ⬆️
cmd/tealdbg/debugger.go 73.49% <0.00%> (+0.80%) ⬆️
ledger/tracker.go 75.74% <0.00%> (+1.70%) ⬆️
network/wsPeer.go 68.18% <0.00%> (+2.67%) ⬆️
ledger/blockqueue.go 88.50% <0.00%> (+2.87%) ⬆️

📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more

jannotti
jannotti previously approved these changes Oct 11, 2022
Copy link
Contributor

@jannotti jannotti left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Seems totally reasonable, and this has been requested from external contributors..

// max compiled teal program is currently 8k
// but we allow for comments, spacing, and repeated consts
// in the source teal, allow up to 200kb
const maxTealSourceBytes = 2e5
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Now that know _ is allowed in int constants in Go, I would prefer 200_000 here

@barnjamin barnjamin requested a review from jannotti October 24, 2022 14:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants