nim-eth/tests
Kim De Mey e5c2b1784e
Replace registerCustomScalarFunction with createCustomFunction (#649)
* Replace registerCustomScalarFunction with createCustomFunction

The nice thing about `registerCustomScalarFunction` and
`registerCustomScalarFunction` was that it kept the sqlite calls
of type sqlite3_value_xxx inside kvstore_sqlite.

The big downside however is that the "custom" call is awfully
specific due to the specific function signature it demands.
It is likely that for each different use case, a new version
needs to be added.

In this PR the code gets altered to `createCustomFunction` which
allows to just create a custom function with directly xFunc
signature of sqlite. The downside of this is that you still need
to import sqlite_abi in your local code to have access to each of
the sqlite3_value_xxx and sqlite3_result_xxx calls. These could of
course also be wrapped.

* Fix custom sql func test
2023-11-21 14:39:24 +01:00
..
common Change maxFeePerBlobGas from GasInt to UInt256 (#640) 2023-09-24 14:33:24 +07:00
db Replace registerCustomScalarFunction with createCustomFunction (#649) 2023-11-21 14:39:24 +01:00
fuzzing switch NAT module from ValidIpAddress to IpAddress (#647) 2023-11-10 09:28:21 +03:00
keyfile Style fixes according to --styleCheck:usages (#452) 2021-12-20 13:14:50 +01:00
keys no more wild constants and rename ecdhSecret to ecdhSharedSecret 2023-04-21 16:08:57 +07:00
p2p switch NAT module from ValidIpAddress to IpAddress (#647) 2023-11-10 09:28:21 +03:00
rlp rename data gas to blob gas 2023-07-28 10:19:00 +07:00
trie Remove all Defect raises to avoid unnecessary warnings (#607) 2023-05-10 15:50:04 +02:00
utp fix XDeclaredButNotUsed warnings in tests/ (#645) 2023-10-29 04:06:48 +00:00
nim.cfg Enable tests with also json sink and fix failures (#624) 2023-06-22 16:13:16 +00:00
stubloglevel.nim Default compile all tests and binaries with TRACE log level (#549) 2022-11-10 09:01:58 +01:00
test_async_utils.nim Add build_dcli target and add it to CI (#344) 2021-04-06 13:33:24 +02:00
test_bloom.nim CI: test with multiple Nim version (#429) 2021-12-11 19:12:55 +01:00