This PR adds trezor configuration for the rootstock network.
This PR also fixes a bug while signing the transactions using trezor by replacing this line
const rv = BigInt(result.payload.v.replace("0x", "")); // This line gives error: Uncaught SyntaxError: Cannot convert 5f to a BigInt
Reason: Consider v = '0x5f'. The replace is removing 0x and then BigInt does not understand 5f as a hex value because 0x prefix is missing.
Fixed it by using parseInt function.
const rv = BigInt(parseInt(result.payload.v, 16));
Testing:
After applying these changes this PR is tested with both ethereum and rootstock networks using trezor
Description
rootstock
network.This PR also fixes a bug while signing the transactions using trezor by replacing this line
Testing: