Giter Site home page Giter Site logo

Comments (3)

joemarct avatar joemarct commented on June 6, 2024

Additional info that may or may not be related to this:

I ran abci-cli test against the running counter.py app and it gives an error:

abci-cli test

I[09-15|20:56:29.312] Starting socketClient                        module=abci-client impl=socketClient
Passed test: InitChain
Passed test: SetOption
Failed test: Commit
Commit hash was unexpected. Got 0000000000000000 expected 
Error: CommitTx failed

from py-abci.

davebryson avatar davebryson commented on June 6, 2024

The example counter app expects transactions in serial order: 1,2,3, etc... - it's part of the checkTx/validate Tx step. For example:
curl http://localhost:46657/broadcast_tx_commit?tx=0x01

curl http://localhost:46657/broadcast_tx_commit?tx=0x02

Are you sending transactions like that? You can remove this check is you'd like to benchmark it.

from py-abci.

joemarct avatar joemarct commented on June 6, 2024

@davebryson You're right, the benchmark using tm-bench was failing due to serial ordering imposed in checkTx. It works when I comment out that part. Thanks for the pointers.

from py-abci.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.