Closed yamadakin closed 6 years ago
Hi @yamadakin
The DepositAuth
and Checks
amendments have been enabled on the testnet. You can upgrade to rippled version 0.90.0-b4 to stop being amendment blocked.
hi @wilsonianb thanks!
Maybe the "amendment blocked" message could also list the (hash of the) amendment(s) that are blocking the server? That way it would be at least somehow possible to search for clues which rippled version should be used.
You can use the feature command to determine which amendments are enabled on the network but unsupported by your node. For example, the response while running 0.90.0-b2 on the testnet includes:
"157D2D480E006395B76F948E3E07A45A05FE10230D88A7993C71F97AE4B1F2D1" : {
"enabled" : true,
"supported" : false,
"vetoed" : false
},
"F64E1EABBE79D55B3BB82020516CEC2C582A98A6BFE20FBE9BB6A0D233418064" : {
"enabled" : true,
"supported" : false,
"vetoed" : false
}
So how about: "error_message":"Amendment blocked, need upgrade. Run the https://ripple.com/build/rippled-apis/#feature command to get a list of unsupported amendments on your node.",
?
It is a quite harsh error case and not much else you can do at this point anyways other than get on a different fork or upgrade the software.
completely agree with @MarkusTeufelberger here, it's not developer friendly to break testnet all the time at all :(
and also mainnet upgrades should be more smooth, e.g. recent validators config directive upgrade.
I've made a Docker image that compiles rippled
from source and (as of right now) runs 0.90.0-b6:
https://github.com/chriscohoat/docker-rippled and https://hub.docker.com/r/chriscohoat/docker-rippled/
This gets me past the Amendment blocked
error for now.
That Dockerfile
has several problems... but yeah, building in a container is one way to get this done.
@MarkusTeufelberger if you want to let me know the specific problems I can fix / it'll help me...it's my second day working with Ripple so the more I know the better.
Most issues are more with your usage of Docker than rippled actually. Stuff that caught my eye:
Thanks! The admin ports are world accessible because they are behind security groups and completely firewalled off. Makes sense for layers/packages/though.
using latest build, still getting this..why wouldn't it allow tx sumbission? this is something basic fundamental operation { "result": { "error": "amendmentBlocked", "error_code": 14, "error_message": "Amendment blocked, need upgrade.", "request": { "command": "submit", "destination": { "address": "rnSsPiFqjyRX9bagm5LExHmXExyX7fBNzo", "amount": { "currency": "XPR", "value": "20" } }, "source": { "address": "rBcqzVptDrcLvgrbTsbmejcGzD8GExfNR1", "maxAmount": { "currency": "XRP", "value": "20" } } }, "status": "error" } }
Which version do you mean by "latest build"? You need to compile rippled yourself, you can NOT use the rpm package on testnet at the moment.
You should be able to use the latest rpm from the ripple-nightly
repository
@MarkusTeufelberger why would i have to build? Doesnt that mean I have to modify some code from my req which is just being able to submit a tx? I am running the latest docker container with custom config.
@wilsonianb does that mean I have to write my own dockerfile ?
There is no official Docker container (yet?), but 0.90.0 has been released now, so you should now be able to use it now. The testnet had features enables that didn't exist in 0.81.0.
the one i used it had the 0.90.0 version . ripple already downloaded 24gig of data. Do I have to abandon that ?and still ripple-nightly is required ?
You had 0.90.0 20 hours ago? Or just now...?
i updated the version in the image few hours ago. What else I have to do to submit a tx from one acct to another? I dont wanna lose the data. It costs money to download all these data in the cloud
so, I was finally able to run in testnet and make a tx , but was never received by my testnode. tx status says destination address not found or something , it was created few minutes before making the tx. Here is the hash 83A859E91E5DB994577E2D1FB9B23A7A6CC1062CA979D29BC9CDABBC6F6C37C7 and receiving address r3AeoS4gedy7YY6icSL61wGMZfjwMoBV4y
How do I solve this issue?
Hi @kiahmed
The account r3AeoS4gedy7YY6icSL61wGMZfjwMoBV4y
does not exist because it has not been sent the minimum required reserve amount of 20 XRP https://ripple.com/build/reserves/
The transaction you mentioned failed with tecNO_DST
for this reason. (The transaction was sending 20 XPR
not XRP
)
well, now I get this error. whats wrong with the amount as it says?
{ "result": { "error": "invalidParams", "error_code": 31, "error_message": "Invalid field 'tx_json.Amount'.", "request": { "command": "submit", "fee_mult_max": 1000, "offline": false, "secret": "shYLXZ2cZHDX5ZVqauMfmEeiRFNXd", "tx_json": { "Account": "rBcqzVptDrcLvgrbTsbmejcGzD8GExfNR1", "Amount": { "currency": "XRP", "issuer": "rBcqzVptDrcLvgrbTsbmejcGzD8GExfNR1", "value": "20" }, "Destination": "r3AeoS4gedy7YY6icSL61wGMZfjwMoBV4y", "TransactionType": "Payment" } }, "status": "error" } }
Hi @kiahmed XRP is not denoted as a JSON object. It is denoted as a quoted decimal string in drops. As noted here: https://ripple.com/build/rippled-apis/#specifying-currency-amounts.
So to specify 20 XRP you'd use "Amount" : "20000000"
.
I run rippled locally in testnet mode, when I send XRP for test, it show [Amendment blocked, need upgrade], how to resolve?
sending XRP for test report [Amendment blocked, need upgrade] error