Only replay-protected (EIP-155) transactions allowed over RPC

I encountered this problem in the fuji test chain using truffle to call the contract. It is said to be caused by the Berlin fork, but there is no problem on Ethereum. I want to ask Avalanche’s fuji test chain has not actively adapted to the Berlin fork. Is the bottom layer of evm changed?

Hello,

For this kind of technical questions, I would advise you to check with DEVs on discord :slight_smile:

Regards,

Hi, I had the same issue with Web3. The solution was to explicitly add the chainId as a send parameter (use 43113 for Fuji):

await contract.methods.<method>(<params>).send({ chainId: 43114 });