indent and comment update

pull/5370/head
yann300 1 year ago committed by Aniket
parent 6c1db2583c
commit 544efcc86e
  1. 2
      libs/remix-simulator/test/events.ts
  2. 2
      libs/remix-simulator/test/transactions.ts

@ -12,7 +12,7 @@ describe('Events', () => {
}) })
describe('eth_getLogs', () => { describe('eth_getLogs', () => {
it('should deploy 2 contracts which emit events and retrieve these events using different block frame', async function () { it('should deploy 2 contracts which emit events and retrieve these events using different block ranges', async function () {
const accounts: string[] = await web3.eth.getAccounts() const accounts: string[] = await web3.eth.getAccounts()
// deploy the contract "test". // deploy the contract "test".
const receiptTest = await web3.eth.sendTransaction({ const receiptTest = await web3.eth.sendTransaction({

@ -20,7 +20,7 @@ describe('Transactions', () => {
data: '0x608060405234801561000f575f80fd5b506101438061001d5f395ff3fe608060405234801561000f575f80fd5b5060043610610034575f3560e01c80632e64cec1146100385780636057361d14610056575b5f80fd5b610040610072565b60405161004d919061009b565b60405180910390f35b610070600480360381019061006b91906100e2565b61007a565b005b5f8054905090565b805f8190555050565b5f819050919050565b61009581610083565b82525050565b5f6020820190506100ae5f83018461008c565b92915050565b5f80fd5b6100c181610083565b81146100cb575f80fd5b50565b5f813590506100dc816100b8565b92915050565b5f602082840312156100f7576100f66100b4565b5b5f610104848285016100ce565b9150509291505056fea2646970667358221220bfa7ddc6d937b635c7a8ad020080923800f04f6b0a685c47330306fd5267626b64736f6c63430008150033' data: '0x608060405234801561000f575f80fd5b506101438061001d5f395ff3fe608060405234801561000f575f80fd5b5060043610610034575f3560e01c80632e64cec1146100385780636057361d14610056575b5f80fd5b610040610072565b60405161004d919061009b565b60405180910390f35b610070600480360381019061006b91906100e2565b61007a565b005b5f8054905090565b805f8190555050565b5f819050919050565b61009581610083565b82525050565b5f6020820190506100ae5f83018461008c565b92915050565b5f80fd5b6100c181610083565b81146100cb575f80fd5b50565b5f813590506100dc816100b8565b92915050565b5f602082840312156100f7576100f66100b4565b5b5f610104848285016100ce565b9150509291505056fea2646970667358221220bfa7ddc6d937b635c7a8ad020080923800f04f6b0a685c47330306fd5267626b64736f6c63430008150033'
}) })
const storageAddress = receipt.contractAddress const storageAddress = receipt.contractAddress
let receiptPull = await web3.eth.getTransactionReceipt(receipt.transactionHash) const receiptPull = await web3.eth.getTransactionReceipt(receipt.transactionHash)
assert.equal(receiptPull.contractAddress, receipt.contractAddress) assert.equal(receiptPull.contractAddress, receipt.contractAddress)
receipt = await web3.eth.sendTransaction({ receipt = await web3.eth.sendTransaction({
from: accounts[0], from: accounts[0],

Loading…
Cancel
Save