The issue I posted on #680 carries on on Cardona aswell with latest version and sequencer updated.
It seems to be a misalignment on method SeekExact at kv_mdbx.go specifically at
When called on rpc inside set fn, getVal1 on cursor.go holds diferent values.
// getVal1 retrieves items from the database using key data for reference
// (Set, SetRange, etc).
//
// See mdb_cursor_get.
func (c *Cursor) getVal1(setkey []byte, op uint) error {
var k *C.char
if len(setkey) > 0 {
k = (*C.char)(unsafe.Pointer(&setkey[0]))
}
ret := C.mdbxgo_cursor_get1( <--- Here holds diferent values
c._c,
k, C.size_t(len(setkey)),
c.txn.key,
c.txn.val,
C.MDBX_cursor_op(op),
)
return operrno("mdbx_cursor_get", ret)
}
System information
output of git branch
Config File
Erigon Command (with flags/config):
./build/bin/cdk-erigon --config="/mnt/ethereum/cdk-erigon/hermezconfig-cardona.yaml" --ws
Erigon RPC
./build/bin/rpcdaemon --datadir=/path/to/cdk-erigon/data --txpool.api.addr=localhost:9092 --private.api.addr=localhost:9092 --http.api=eth,erigon,web3,net,debug,trace,txpool,zkevm --ws --ws.compression
Expected behaviour
When I curl to get batch info it gets delivered.
Actual behaviour
Steps to reproduce the behaviour
Backtrace
When I curl against the node it returns the correct response
The issue I posted on #680 carries on on Cardona aswell with latest version and sequencer updated. It seems to be a misalignment on method
SeekExact
at kv_mdbx.go specifically atWhen called on rpc inside set fn,
getVal1
on cursor.go holds diferent values.