Giter VIP home page Giter VIP logo

blob-utils's People

Contributors

abdelstark avatar inphi avatar jimmygchen avatar pablocastellano avatar qzhodl avatar roberto-bayardo avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

blob-utils's Issues

Blob codec agnostic test vectors

The test vector assumes the data input are encoded as blobs using this encoder. But there are multiple ways of encoding blobs (ex: tightly packing byte values that are much less than the field element size).

To allow for greater compatibility across client implementations, the test vector should have the encoded data blob as input (i.e. a 128 KiB hex encoded string).

cc: @abdelhamidbakhta

Failed to compute commitments (devnet-11)

Hello! I just tried blob-utils on devnet-11 and it fails with the following error

2023/11/16 09:25:13 failed to compute commitments: scalar is not canonical when interpreted as a big integer in big-endian

invalid blob 0: can't verify opening proof

i seem to be getting the same error both when i submit a blob txn locally and against devnet 12

./blob-utils tx \
    --rpc-url https://rpc.dencun-devnet-12.ethpandaops.io \
    --blob-file <(echo hello) \
    --to 0x3Af4A1fe34392AACbf4cDA98518860b9Ea3c8929 \
    --private-key <pk> \
    --gas-limit 210000 \
    --chain-id 7011893062 \
    --priority-gas-price 200000000 \
    --max-fee-per-blob-gas 300000000

2023/12/14 21:53:00 failed to send transaction: invalid blob 0: can't verify opening proof

invalid version: unknown revision 946a2dae2e9e

~/blob-utils master !2 ?4 ❯ ./build.sh                                                                           lyfsn
go: downloading github.com/lightclient/go-ethereum v1.10.10-0.20230814210040-946a2dae2e9e
main.go:15:2: github.com/lightclient/[email protected]: invalid version: unknown revision 946a2dae2e9e
main.go:16:2: github.com/lightclient/[email protected]: invalid version: unknown revision 946a2dae2e9e
main.go:17:2: github.com/lightclient/[email protected]: invalid version: unknown revision 946a2dae2e9e
main.go:18:2: github.com/lightclient/[email protected]: invalid version: unknown revision 946a2dae2e9e
main.go:19:2: github.com/lightclient/[email protected]: invalid version: unknown revision 946a2dae2e9e
utils.go:10:2: github.com/lightclient/[email protected]: invalid version: unknown revision 946a2dae2e9e
main.go:20:2: github.com/lightclient/[email protected]: invalid version: unknown revision 946a2dae2e9e
utils.go:11:2: github.com/lightclient/[email protected]: invalid version: unknown revision 946a2dae2e9e

send tx failed: Invalid

I am trying to use testnet 7 and send a blob, but tx keeps on failing with this error 2023/07/16 12:57:01 send tx failed: Invalid. Can someone help me with a reason?

./blob-utils tx --rpc-url https://rpc.4844-devnet-7.ethpandaops.io \
    --blob-file <(echo hello) \
    --to 0xC8D369B164361A8961286CFbaB3bc10F962185a8 \
    --private-key <mykey> \
    --gas-limit 210000 \
    --chain-id 7011893055 \
    --priority-gas-price 200000000 \
    --max-fee-per-data-gas 300000000

The wallet address I am using is 0x6Fb447Ae94F5180254D436A693907a1f57696900

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.