I am testing erc20 using open ethereum poa chain. While testing, the following function does not work and an error occurs.
Has anyone tested the openethereum poa chain regarding the safeTransfer part? I know this has nothing to do with eip, but when I tried it, it didn't work.
based on the above link, you can set up the poa chain and run the chain. -> blockchain is running.
you deploy any openzepline example contracts including safeTransfer.
using remix to call safeTransfer or other tools, then the function returns fail. transfer is ok but safeTransfer only return fail.
openethereum daemon version : OpenEthereum v3.3.5
pragma solidity ^0.8.0
openethereum poa test params based on the above link
"params": {
"gasLimitBoundDivisor": "0x400",
"maximumExtraDataSize": "0x20",
"minGasLimit": "0x1388",
"networkID" : "0x1004",
if you run on that poa chain, try then you can see the same result on poa chain. i am asking you about the architecture level for it, not the code level.
Try deploying your code to the ethereum testnet and see if it works there or not,
Technically it shouldn't give an error, but alot of things can go wrong, however OpenEthereum has been deprecated since May last year so who knows what might be wrong in the client itself.
Have you tried using it running your code on go-ethereum
using Clique? Thats the official Geth client using PoA, which should cause less issues then an deprecated client thats not developed or supported anymore.