Comments (5)
I suppose this issue needs to be resolved before kadena.js can be used with Marmalade.
from kadena.js.
I suppose this issue needs to be resolved before kadena.js can be used with Marmalade.
Yes, you're right. I would be better....
But in the meantime, I found out a workaround (I'm not very proud of it)
from kadena.js.
Based on the api specification it says the proof could be only a base64 string if presented.
https://api.chainweb.com/openapi/pact.html#tag/model-payload
So if there is no proof you don't need to pass the proof field
const cmd = Pact.builder.continuation({
pactId:"4UdU0LY5hNCNQuuuRAmXKGHf2Q2S4OUAYnEo5X7B60Y",
step:0,
rollback:true
})
if this throws an exception then we need to update the api specification as well
Could you please check if not passing proof solves the issue?
from kadena.js.
According to the Pact code:
https://github.com/kadena-io/pact/blob/445af04190793a1d8fbbfad626e25fb7f4a0c02c/src/Pact/Types/RPC.hs#L98
the field proof
is mandatory: Aeson's .:
operator.
btw: this should be confirmed by an Haskell/Aeson guru
from kadena.js.
I haven't tested until now.
But the merged PR should fix the issue => I'm closing.
from kadena.js.
Related Issues (20)
- PactNumber has an incorrect behaviour with very large integers
- Do not use generative algoritm to formulate answers HOT 7
- [@kadena/client] Add submitAndPoll and/or submitAndListen HOT 1
- @kadena/client: Provide a convenient way to sign a transaction with a keypair HOT 10
- [@kadena/client] check the transaction body after sign with `sign` protocol HOT 1
- @kadena/client depends on a vulnerable version of YAML HOT 1
- Move all wallet specific helpers to `@kadena/wallet` HOT 2
- @kadena/client: improve error handling HOT 1
- [docs] Allow Markdown files to skip H1 if the page has the title keyword defined in the frontmatter HOT 1
- [docs] Allow a configuration file to control site structure and navigatiion HOT 1
- [docs] Allow all left navigation to call a page HOT 1
- Allow Chainweaver's IP address to be updated HOT 1
- Give a way to retrieve the account from eckoWallet HOT 1
- @kadena/client : pollCreateSpv is throwing errors in console HOT 6
- Javascript API documentation HOT 6
- Adding an account manually, at the ChainID prompt, I typed 3 and crashed. HOT 3
- darkThemeClass not exported HOT 2
- [@kadena/react-ui] eye icon is not visible in TrackerCard when DarkMode enabled HOT 1
- Signing with Kadena-cli doesn't work when the transaction comes from chainweaver
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from kadena.js.