You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Oct 25, 2023. It is now read-only.
I've been trying to muddle my way through getting this to work on our own solidly fork over on avalanche (glacier).
At first, I thought the issue was running into was due to killed gauges.
I went through and manually added the gauges addresses to the
--snip
in self.gauge_address in (
ADDRESS_ZERO,
'0x.....', # killed gauge
'0x.....', # killed gauge
None):
return
of the syncup_gauge within the app/pairs/model.py
And while I'm not sure if that worked, it did get further down the list of pairs.
Then I thought it might be due to the subtle (not always) differences between solidly forks. But after digging through
the from_chain bit that does the fetching... u know.. from chain It looks like all the bits should be there.
Oh.. here's the snippet of the docker sync command error:
-snip
Fetched Pair:0xfd0cc778bb835fb8f5831be3be1a30f3bb9ad5b9.
Process Process-1:
Traceback (most recent call last):
File "/opt/pypy/lib/pypy3.9/multiprocessing/process.py", line 315, in _bootstrap
self.run()
File "/opt/pypy/lib/pypy3.9/multiprocessing/process.py", line 108, in run
self._target(*self._args, **self._kwargs)
File "/app/app/pairs/syncer.py", line 33, in sync
pool.map(Pair.from_chain, addresses)
File "/opt/pypy/lib/pypy3.9/multiprocessing/pool.py", line 364, in map
return self._map_async(func, iterable, mapstar, chunksize).get()
File "/opt/pypy/lib/pypy3.9/multiprocessing/pool.py", line 771, in get
raise self._value
File "/opt/pypy/lib/pypy3.9/multiprocessing/pool.py", line 125, in worker
result = (True, func(*args, **kwds))
File "/opt/pypy/lib/pypy3.9/multiprocessing/pool.py", line 48, in mapstar
return list(map(*args))
File "/app/app/pairs/model.py", line 171, in from_chain
pair.syncup_gauge()
File "/app/app/pairs/model.py", line 70, in syncup_gauge
gauge = Gauge.from_chain(self.gauge_address)
File "/app/app/gauges/model.py", line 99, in from_chain
data['wrapped_bribe_address'] = Call(
File "/opt/pypy/lib/pypy3.9/site-packages/eth_retry/eth_retry.py", line 71, in auto_retry_wrap
return func(*args, **kwargs) # type: ignore
File "/opt/pypy/lib/pypy3.9/site-packages/multicall/call.py", line 99, in call
_w3.eth.call(*args),
File "/opt/pypy/lib/pypy3.9/site-packages/web3/module.py", line 57, in caller
result = w3.manager.request_blocking(method_str,
File "/opt/pypy/lib/pypy3.9/site-packages/web3/manager.py", line 198, in request_blocking
return self.formatted_response(response,
File "/opt/pypy/lib/pypy3.9/site-packages/web3/manager.py", line 170, in formatted_response
apply_error_formatters(error_formatters, response)
File "/opt/pypy/lib/pypy3.9/site-packages/web3/manager.py", line 70, in apply_error_formatters
formatted_resp = pipe(response, error_formatters)
File "cytoolz/functoolz.pyx", line 680, in cytoolz.functoolz.pipe
File "cytoolz/functoolz.pyx", line 655, in cytoolz.functoolz.c_pipe
File "/opt/pypy/lib/pypy3.9/site-packages/web3/_utils/method_formatters.py", line 580, in raise_solidity_error_on_revert
raise ContractLogicError('execution reverted')
web3.exceptions.ContractLogicError: execution reverted
^CTraceback (most recent call last):
File "/opt/pypy/lib/pypy3.9/runpy.py", line 200, in _run_module_as_main
return _run_code(code, main_globals, None,
File "/opt/pypy/lib/pypy3.9/runpy.py", line 87, in _run_code
exec(code, run_globals)
File "/app/app/pairs/syncer.py", line 67, in
sync_forever()
File "/app/app/pairs/syncer.py", line 60, in sync_forever
time.sleep(SYNC_WAIT_SECONDS)
--snip
I figured i'd ask you/yall directly and perhaps there's a step I've missed that might seem obvious to the folks that
whipped this up.
Thanks!
The text was updated successfully, but these errors were encountered:
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
I've been trying to muddle my way through getting this to work on our own solidly fork over on avalanche (glacier).
At first, I thought the issue was running into was due to killed gauges.
I went through and manually added the gauges addresses to the
--snip
in self.gauge_address in (
ADDRESS_ZERO,
'0x.....', # killed gauge
'0x.....', # killed gauge
None):
return
of the syncup_gauge within the app/pairs/model.py
And while I'm not sure if that worked, it did get further down the list of pairs.
Then I thought it might be due to the subtle (not always) differences between solidly forks. But after digging through
the from_chain bit that does the fetching... u know.. from chain It looks like all the bits should be there.
Oh.. here's the snippet of the docker sync command error:
-snip
Fetched Pair:0xfd0cc778bb835fb8f5831be3be1a30f3bb9ad5b9.
Process Process-1:
Traceback (most recent call last):
File "/opt/pypy/lib/pypy3.9/multiprocessing/process.py", line 315, in _bootstrap
self.run()
File "/opt/pypy/lib/pypy3.9/multiprocessing/process.py", line 108, in run
self._target(*self._args, **self._kwargs)
File "/app/app/pairs/syncer.py", line 33, in sync
pool.map(Pair.from_chain, addresses)
File "/opt/pypy/lib/pypy3.9/multiprocessing/pool.py", line 364, in map
return self._map_async(func, iterable, mapstar, chunksize).get()
File "/opt/pypy/lib/pypy3.9/multiprocessing/pool.py", line 771, in get
raise self._value
File "/opt/pypy/lib/pypy3.9/multiprocessing/pool.py", line 125, in worker
result = (True, func(*args, **kwds))
File "/opt/pypy/lib/pypy3.9/multiprocessing/pool.py", line 48, in mapstar
return list(map(*args))
File "/app/app/pairs/model.py", line 171, in from_chain
pair.syncup_gauge()
File "/app/app/pairs/model.py", line 70, in syncup_gauge
gauge = Gauge.from_chain(self.gauge_address)
File "/app/app/gauges/model.py", line 99, in from_chain
data['wrapped_bribe_address'] = Call(
File "/opt/pypy/lib/pypy3.9/site-packages/eth_retry/eth_retry.py", line 71, in auto_retry_wrap
return func(*args, **kwargs) # type: ignore
File "/opt/pypy/lib/pypy3.9/site-packages/multicall/call.py", line 99, in call
_w3.eth.call(*args),
File "/opt/pypy/lib/pypy3.9/site-packages/web3/module.py", line 57, in caller
result = w3.manager.request_blocking(method_str,
File "/opt/pypy/lib/pypy3.9/site-packages/web3/manager.py", line 198, in request_blocking
return self.formatted_response(response,
File "/opt/pypy/lib/pypy3.9/site-packages/web3/manager.py", line 170, in formatted_response
apply_error_formatters(error_formatters, response)
File "/opt/pypy/lib/pypy3.9/site-packages/web3/manager.py", line 70, in apply_error_formatters
formatted_resp = pipe(response, error_formatters)
File "cytoolz/functoolz.pyx", line 680, in cytoolz.functoolz.pipe
File "cytoolz/functoolz.pyx", line 655, in cytoolz.functoolz.c_pipe
File "/opt/pypy/lib/pypy3.9/site-packages/web3/_utils/method_formatters.py", line 580, in raise_solidity_error_on_revert
raise ContractLogicError('execution reverted')
web3.exceptions.ContractLogicError: execution reverted
^CTraceback (most recent call last):
File "/opt/pypy/lib/pypy3.9/runpy.py", line 200, in _run_module_as_main
return _run_code(code, main_globals, None,
File "/opt/pypy/lib/pypy3.9/runpy.py", line 87, in _run_code
exec(code, run_globals)
File "/app/app/pairs/syncer.py", line 67, in
sync_forever()
File "/app/app/pairs/syncer.py", line 60, in sync_forever
time.sleep(SYNC_WAIT_SECONDS)
--snip
I figured i'd ask you/yall directly and perhaps there's a step I've missed that might seem obvious to the folks that
whipped this up.
Thanks!
The text was updated successfully, but these errors were encountered: