-
Notifications
You must be signed in to change notification settings - Fork 35
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
UNSUPPORTED_OPERATION error #1
Comments
Did you try to change gasPrice and gasLimit numbers?
|
Hi, i got the same error too, i've change the gas code as per this snippet. Please assist thanks.
|
i have same problem too i tried to adjust gas prices and i0+0+istal type script and ethers |
i just detects new pairs nothing else |
I have done this in Python and it works. Would upload later |
When I run the code I get an error like this, after the error the code runs and detects new pairs. However, it does not buy. I could not find where the error was.
Error:
cannot override "_hex","_isBigNumber","fromTwos","toTwos","abs","add","sub","div","mul","mod","pow","and","or","xor","mask","shl","shr","eq","lt","lte","gt","gte","isNegative","isZero","toNumber","toString","toHexString","toJSON" (operation="overrides", overrides=["_hex","_isBigNumber","fromTwos","toTwos","abs","add","sub","div","mul","mod","pow","and","or","xor","mask","shl","shr","eq","lt","lte","gt","gte","isNegative","isZero","toNumber","toString","toHexString","toJSON"], code=UNSUPPORTED_OPERATION, version=contracts/5.0.12)at Logger.makeError (C:\virtual04\pancakeswap-bot-main\node_modules@ethersproject\logger\lib\index.js:180:21)
at Logger.throwError (C:\virtual04\pancakeswap-bot-main\node_modules@ethersproject\logger\lib\index.js:189:20)
at C:\virtual04\pancakeswap-bot-main\node_modules@ethersproject\contracts\lib\index.js:237:32
at step (C:\virtual04\pancakeswap-bot-main\node_modules@ethersproject\contracts\lib\index.js:48:23)
at Object.next (C:\virtual04\pancakeswap-bot-main\node_modules@ethersproject\contracts\lib\index.js:29:53)
at fulfilled (C:\virtual04\pancakeswap-bot-main\node_modules@ethersproject\contracts\lib\index.js:20:58)
at processTicksAndRejections (node:internal/process/task_queues:96:5) {
reason: 'cannot override "_hex","_isBigNumber","fromTwos","toTwos","abs","add","sub","div","mul","mod","pow","and","or","xor","mask","shl","shr","eq","lt","lte","gt","gte","isNegative","isZero","toNumber","toString","toHexString","toJSON"',
code: 'UNSUPPORTED_OPERATION',
operation: 'overrides',
overrides: [
'_hex', '_isBigNumber', 'fromTwos',
'toTwos', 'abs', 'add',
'sub', 'div', 'mul',
'mod', 'pow', 'and',
'or', 'xor', 'mask',
'shl', 'shr', 'eq',
'lt', 'lte', 'gt',
'gte', 'isNegative', 'isZero',
'toNumber', 'toString', 'toHexString',
'toJSON'
]
}
The text was updated successfully, but these errors were encountered: