Complete rehabilitation for tests in isolated categories
This commit is contained in:
		
							parent
							
								
									01513fa9ad
								
							
						
					
					
						commit
						fcfc158e62
					
				@ -114,7 +114,7 @@ def list_tx_by_bloom(self, bloomspec, address, chain_spec_dict):
 | 
				
			|||||||
 | 
					
 | 
				
			||||||
                        # TODO: pass through registry to validate declarator entry of token
 | 
					                        # TODO: pass through registry to validate declarator entry of token
 | 
				
			||||||
                        #token = registry.by_address(tx['to'], sender_address=self.call_address)
 | 
					                        #token = registry.by_address(tx['to'], sender_address=self.call_address)
 | 
				
			||||||
                        token = ERC20Token(rpc, tx['to'])
 | 
					                        token = ERC20Token(chain_spec, rpc, tx['to'])
 | 
				
			||||||
                        token_symbol = token.symbol
 | 
					                        token_symbol = token.symbol
 | 
				
			||||||
                        token_decimals = token.decimals
 | 
					                        token_decimals = token.decimals
 | 
				
			||||||
                        times = tx_times(tx['hash'], chain_spec)
 | 
					                        times = tx_times(tx['hash'], chain_spec)
 | 
				
			||||||
 | 
				
			|||||||
@ -12,6 +12,7 @@ from chainqueue.error import NotLocalTxError
 | 
				
			|||||||
 | 
					
 | 
				
			||||||
# local imports
 | 
					# local imports
 | 
				
			||||||
from cic_eth.task import CriticalSQLAlchemyAndWeb3Task
 | 
					from cic_eth.task import CriticalSQLAlchemyAndWeb3Task
 | 
				
			||||||
 | 
					from cic_eth.db.models.base import SessionBase
 | 
				
			||||||
 | 
					
 | 
				
			||||||
celery_app = celery.current_app
 | 
					celery_app = celery.current_app
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
		Reference in New Issue
	
	Block a user