-
Notifications
You must be signed in to change notification settings - Fork 721
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
Transaction submission test via cardano-submit-api
#5558
Conversation
9409dcf
to
983ec70
Compare
cardano-submit-api
cardano-testnet/test/cardano-testnet-test/Cardano/Testnet/Test/SubmitApi/Babbage/Transaction.hs
Outdated
Show resolved
Hide resolved
, configPath = configurationFile | ||
, epochSlots = 2 | ||
, sprocket = poolSprocket1 | ||
, port = 8090 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Consider randomising ports using allocateRandomPorts as used here to avoid collision when running on our Macs (I've been toldby DevX that the MacOs runners have virtually no isolation)
data SubmitApiConf = SubmitApiConf | ||
{ tempAbsPath :: FilePath | ||
, configPath :: FilePath | ||
, epochSlots :: Int |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why isn't the epoch slots being read from the config file?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Not sure. The cardano-submit-api
CLI requires it.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM!
983ec70
to
40125bc
Compare
40125bc
to
fceae5c
Compare
67fc32b
to
0acfd41
Compare
Description
This adds transaction submission test that is done via
cardano-submit-api
.Checklist
See Runnings tests for more details
CHANGELOG.md
for affected package.cabal
files are updatedhlint
. See.github/workflows/check-hlint.yml
to get thehlint
versionstylish-haskell
. See.github/workflows/stylish-haskell.yml
to get thestylish-haskell
versionghc-8.10.7
andghc-9.2.7
Note on CI
If your PR is from a fork, the necessary CI jobs won't trigger automatically for security reasons.
You will need to get someone with write privileges. Please contact IOG node developers to do this
for you.