Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

API: Don't return a top level array from algod #5404

Merged
merged 1 commit into from
May 19, 2023

Conversation

Eric-Warehime
Copy link
Contributor

Summary

Converted response type from top level array to an object containing a single array entry.
See algorand/generator#36 for background on why this is a problem.

Test Plan

Updated unit tests-also updating cucumber tests for SDKs with generated responses from running code locally.

@codecov
Copy link

codecov bot commented May 19, 2023

Codecov Report

Merging #5404 (8284964) into master (b684243) will decrease coverage by 1.10%.
The diff coverage is 0.00%.

@@            Coverage Diff             @@
##           master    #5404      +/-   ##
==========================================
- Coverage   55.38%   54.29%   -1.10%     
==========================================
  Files         452      452              
  Lines       63812    63816       +4     
==========================================
- Hits        35344    34648     -696     
- Misses      26035    26711     +676     
- Partials     2433     2457      +24     
Impacted Files Coverage Δ
daemon/algod/api/server/v2/handlers.go 0.82% <0.00%> (-0.01%) ⬇️

... and 61 files with indirect coverage changes

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

@winder winder merged commit a497df0 into algorand:master May 19, 2023
@winder winder changed the title algod: Don't return a top level array from algod API: Don't return a top level array from algod May 19, 2023
tzaffi pushed a commit to tzaffi/go-algorand that referenced this pull request May 22, 2023
wip

netdeploy: Copy ledger directory for kv tracker database (algorand#5392)

assembler: Error if extra args are present in pragmas (algorand#5400)

ledger: Exclude stake at R-320 that is expired by R (algorand#5403)

Co-authored-by: cce <[email protected]>

algod: Don't return a top level array from algod (algorand#5404)

revert

go get github.com/algorand/[email protected]

go get github.com/getkin/[email protected]

go mod tidy -compat=1.17

go get github.com/algorand/[email protected]

go mod tidy -compat=1.17

go get github.com/algorand/[email protected]

revert to master

github.com/getkin/kin-openapi v0.117.0

github.com/getkin/kin-openapi v0.117.0

github.com/getkin/kin-openapi v0.117.0

go get golang.org/x/mod/modfile

tidy #0

go get github.com/algorand/[email protected]

go mod tidy

tidy up after every go get

simplify

revert

tidier

tg

tg
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