-
Notifications
You must be signed in to change notification settings - Fork 729
cardano-testnet | Add test submitting transaction with reference inputs and actual datums #6174
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
base: master
Are you sure you want to change the base?
Conversation
72e96a7
to
e6c49a9
Compare
e633ef2
to
f657b53
Compare
9d19c0a
to
17f89d5
Compare
790ae17
to
9643429
Compare
fa1c711
to
2b5aed5
Compare
cardano-testnet/src/Testnet/Types.hs
Outdated
@@ -148,6 +150,18 @@ isTestnetNodeSpo = isJust . poolKeys | |||
nodeSocketPath :: TestnetNode -> SocketPath | |||
nodeSocketPath = File . H.sprocketSystemName . nodeSprocket | |||
|
|||
-- | Connection data for the first node in the testnet | |||
node0ConnectionInfo :: MonadTest m => TestnetRuntime -> m LocalNodeConnectInfo |
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.
What about exposing an index parameter?
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.
I figured that for >0
indices, the connection info won't be that useful - those are relay nodes. I can add an index.
import qualified Hedgehog.Extras.Test.TestWatchdog as H | ||
|
||
|
||
-- | Test providing actual datum to reference inputs containing datum hashes |
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.
I don't understand what this means. Can you elaborate on what this test is testing and how this differs from "normal" datum usage.
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.
Added more comments.
7793a60
to
e410166
Compare
e410166
to
5963444
Compare
4f9f87c
to
fa3d95a
Compare
fa3d95a
to
1bd9228
Compare
Description
Tests IntersectMBO/cardano-api#803
Stacked on top of:
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.