Fix templates
This commit is contained in:
parent
f854f3ee2b
commit
2e1c2d9dfe
@ -16,7 +16,7 @@ async callAsync(
|
||||
{
|
||||
data: encodedData,
|
||||
},
|
||||
this._web3Wrapper.getContractDefaults(),
|
||||
self._web3Wrapper.getContractDefaults(),
|
||||
)
|
||||
const rawCallResult = await self._web3Wrapper.callAsync(callDataWithDefaults, defaultBlock);
|
||||
let resultArray = ethersFunction.parse(rawCallResult);
|
||||
|
@ -19,7 +19,7 @@ public {{this.tsName}} = {
|
||||
...txData,
|
||||
data: encodedData,
|
||||
},
|
||||
this._web3Wrapper.getContractDefaults(),
|
||||
self._web3Wrapper.getContractDefaults(),
|
||||
self.{{this.tsName}}.estimateGasAsync.bind(
|
||||
self,
|
||||
{{> params inputs=inputs}}
|
||||
@ -43,7 +43,7 @@ public {{this.tsName}} = {
|
||||
...txData,
|
||||
data: encodedData,
|
||||
},
|
||||
this._web3Wrapper.getContractDefaults(),
|
||||
self._web3Wrapper.getContractDefaults(),
|
||||
);
|
||||
const gas = await self._web3Wrapper.estimateGasAsync(txDataWithDefaults);
|
||||
return gas;
|
||||
|
@ -6,7 +6,7 @@ export const config = {
|
||||
artifactsDir: path.resolve(__dirname, '../../artifacts'),
|
||||
contractsDir: path.resolve(__dirname, '../../contracts'),
|
||||
ganacheLogFile: 'ganache.log',
|
||||
defaults: {
|
||||
txDefaults: {
|
||||
from: devConstants.TESTRPC_FIRST_ADDRESS,
|
||||
},
|
||||
mnemonic: 'concert load couple harbor equip island argue ramp clarify fence smart topic',
|
||||
|
@ -7,7 +7,7 @@ import * as path from 'path';
|
||||
import { runMigrationsAsync } from './migration';
|
||||
|
||||
(async () => {
|
||||
const defaults = {
|
||||
const txDefaults = {
|
||||
from: devConstants.TESTRPC_FIRST_ADDRESS,
|
||||
};
|
||||
const providerConfigs = { shouldUseInProcessGanache: false };
|
||||
|
@ -3,7 +3,8 @@ import { BigNumber, NULL_BYTES } from '@0xproject/utils';
|
||||
import { Web3Wrapper } from '@0xproject/web3-wrapper';
|
||||
import * as _ from 'lodash';
|
||||
|
||||
import { artifacts, ArtifactWriter } from './artifacts';
|
||||
import { ArtifactWriter } from './artifact_writer';
|
||||
import { artifacts } from './artifacts';
|
||||
import { DummyTokenContract } from './contract_wrappers/dummy_token';
|
||||
import { ExchangeContract } from './contract_wrappers/exchange';
|
||||
import { MultiSigWalletWithTimeLockExceptRemoveAuthorizedAddressContract } from './contract_wrappers/multi_sig_wallet_with_time_lock_except_remove_authorized_address';
|
||||
|
0
packages/sol-compiler/solc_bin/.gitkeep
Normal file
0
packages/sol-compiler/solc_bin/.gitkeep
Normal file
@ -390,7 +390,7 @@ export class TopBar extends React.Component<TopBarProps, TopBarState> {
|
||||
(!this._isViewing0xjsDocs() &&
|
||||
!this._isViewingSmartContractsDocs() &&
|
||||
!this._isViewingWeb3WrapperDocs() &&
|
||||
!this._isViewingDeployerDocs() &&
|
||||
!this._isViewingSolCompilerDocs() &&
|
||||
!this._isViewingJsonSchemasDocs() &&
|
||||
!this._isViewingSolCovDocs() &&
|
||||
!this._isViewingSubprovidersDocs() &&
|
||||
|
Loading…
x
Reference in New Issue
Block a user