Q: Web3 Payable Transact python I'm new to web3 and I'm trying to deploy into ganache the smart contract that corresponds to blind auction from the solidity documentation (https://docs.soliditylang.org/en/v0.6.1/solidity-by-example.html) (second one corresponding to auctions). I managed to deploy the contract into ganache, however when trying to place a bid using web3 in python I keep receiving:

web3.exceptions.ContractLogicError: execution reverted: VM Exception while processing transaction: revert

Here's the python code:
import json
from web3 import Web3, HTTPProvider

blockchain_address = 'http://127.0.0.1:7545'
w3 = Web3(HTTPProvider(blockchain_address))
w3.eth.defaultAccount = w3.eth.accounts[0]

compiled_contract_path = './build/contracts/BlindAuction.json'
deployed_contract_address = '0xbcAd25B0fD05Ad45c9fd9868D64C630Fb302185e'

with open(compiled_contract_path) as file:
    contract_json = json.load(file)
    contract_abi = contract_json['abi']



gas_price = w3.toWei(21,'gwei')
contract = w3.eth.contract(address=deployed_contract_address,abi=contract_abi)

#hex = w3.toHex(10)
#print(hex)
bid = w3.toBytes(10)
transaction = contract.functions.bid(bid)
tx_hash = transaction.transact({"from":w3.eth.accounts[2],"value":100,"gasPrice":gas_price})
w3.eth.waitForTransactionReceipt(tx_hash)

Any idea on what can be causing the issue ? Additionally I would like to know if there is any way that I can see a more verbose or complete error description.
