What’s the difference between contract creation and contract deployment?

According to the solidity documentation: One way to create contracts programmatically on Ethereum is via the JavaScript API web3.js. It has a function called web3.eth.Contract to facilitate contract creation. When a contract is created, its constructor is executed once. Now, How is this different from deploying a contract ? When we deploy a contract, the…

Go-ethereum light node does not provide getTransactionReceipt after upgrade

I’m running the following services in docker: go-ethereum 1.9.11-stable-6a62fe39 in light mode python 3.7-alpine app with Web3 v5.5.1. Geth node startup is straightforward: image: ethereum/client-go:stable command: [‘–syncmode’, ‘light’, ‘–rpc’, ‘–rpcaddr’, ‘0.0.0.0’, ‘–rpcvhosts’, ‘*’, ‘–ws’, ‘–wsaddr’, ‘0.0.0.0’] volumes: – ./eth-data:/root/.ethereum web3.eth.getTransaction returns correct tx information web3.eth.getTransactionReceipt raises TransactionNotFound exception Previously node was running in version 1.8…

Calling transferFrom of external erc20 contract

Hey I’m calling externals contract method transferFrom in following way. function sendTransaction(address tokenAddress, uint tokenAmount) public payable { if (!performTransfer(tokenAddress, tokenAmount)) { revert(); } function performTransfer(address tokenAddress, uint amount) internal returns (bool) { ERC20Interface instance = ERC20Interface(tokenAddress); bool resp = instance.transferFrom(msg.sender, address(this), amount); return resp; } Can someone please tell me if there are any…