mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-08-19 10:22:23 +00:00
pr issues
This commit is contained in:
parent
49bc2a8570
commit
d5c3069d71
2 changed files with 0 additions and 3 deletions
|
|
@ -356,7 +356,6 @@ func prepareAccountValidationMessage(baseTx *types.Transaction, chainConfig *par
|
|||
return &Message{
|
||||
From: chainConfig.EntryPointAddress,
|
||||
To: tx.Sender,
|
||||
Nonce: tx.Nonce,
|
||||
Value: big.NewInt(0),
|
||||
GasLimit: tx.ValidationGas - deploymentUsedGas,
|
||||
GasPrice: tx.GasFeeCap,
|
||||
|
|
|
|||
|
|
@ -14,8 +14,6 @@ import (
|
|||
)
|
||||
|
||||
func TestPackValidationData(t *testing.T) {
|
||||
//assert.Equal(t, make([]byte, 32), packValidationData(0, 0, 0))
|
||||
//assert.Equal(t, new(big.Int).SetInt64(0x1234).Text(16), new(big.Int).SetBytes(packValidationData(0x1234, 0, 0)).Text(16))
|
||||
// --------------- after 6bytes before 6 bytes magic 20 bytes
|
||||
validationData := "000000000002" + "000000000001" + "0000000000000000000000000000000000001234"
|
||||
packed, _ := new(big.Int).SetString(validationData, 16)
|
||||
|
|
|
|||
Loading…
Reference in a new issue