out of historical reasons about the development of the web3 framework, we ended up using 2 different big number libraries, while Typescript in the meanwhile also has bigint support.
the incompatibilities between those 3 are causing additonal development effort.
we should get rid of the BigNumber library and switch everything to web3 BN.
Also concidering to use Javascript BigInt where possible
out of historical reasons about the development of the web3 framework, we ended up using 2 different big number libraries, while Typescript in the meanwhile also has bigint support.
the incompatibilities between those 3 are causing additonal development effort.
we should get rid of the BigNumber library and switch everything to web3 BN.
Also concidering to use Javascript BigInt where possible