-
Notifications
You must be signed in to change notification settings - Fork 11
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
Task/psgs 55 cardano api units #17
Conversation
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.
👍
@@ -25,6 +25,14 @@ object HelpExecute { | |||
case (k, v) => k.toLong -> MetadataValueStr (v) | |||
} | |||
}.toMap | |||
|
|||
def failOnLeft[T](future: Future[CardanoApiResponse[T]])(implicit ec: ExecutionContext): Future[T] = for { |
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.
failOnLeft should be unwrap and since we're in the area future should probably be responseF
@@ -13,8 +13,6 @@ import org.scalatest.flatspec.AnyFlatSpec | |||
import org.scalatest.matchers.should.Matchers | |||
|
|||
import scala.jdk.CollectionConverters.{MapHasAsJava, SeqHasAsJava} | |||
import scala.jdk.OptionConverters.RichOption | |||
|
|||
|
|||
class CardanoJpiSpec extends AnyFlatSpec with Matchers with Configure with ModelCompare with BeforeAndAfterAll { |
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.
CardanoJpiSpec has a println on line 60
No description provided.