Skip to content

Commit

Permalink
🏷 Version bump 1.1.21
Browse files Browse the repository at this point in the history
  • Loading branch information
coccoinomane committed Oct 3, 2023
1 parent 0deb869 commit 2bdd65d
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 8 deletions.
4 changes: 2 additions & 2 deletions pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[project]
name = "web3cli"
version = "1.1.20"
version = "1.1.21"
description = "Interact with blockchains and smart contracts using the command line"
authors = [
{name = "coccoinomane", email = "[email protected]"},
Expand All @@ -21,7 +21,7 @@ dependencies = [
"cryptography>=38.0.3",
"ruamel.yaml>=0.17.21",
"eth-account>=0.8.0",
]
]

[tool.pdm.dev-dependencies]
dev = [
Expand Down
13 changes: 7 additions & 6 deletions src/web3core/models/tx.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
import re
from typing import Type

from peewee import BigIntegerField, DateTimeField, TextField
from peewee import BigIntegerField, DateTimeField, IntegerField, TextField
from playhouse.signals import pre_save

from web3core.exceptions import AddressIsInvalid, TxIsInvalid, TxNotFound
Expand All @@ -18,16 +18,17 @@ class Meta:
table_name = "txs"

hash = TextField(unique=True)
desc = TextField(null=True)
chain = TextField()
to = TextField()
from_ = TextField(column_name="from")
value = TextField(null=True)
gas = BigIntegerField(null=True)
gas_price = TextField(null=True)
# timestamp = BigIntegerField(null=True)
# block = BigIntegerField(null=True)
desc = TextField(null=True)
data = TextField(null=True)
gas_price = TextField(null=True) # legacy
max_fee_per_gas = TextField(null=True)
nonce = BigIntegerField(null=True)
type_ = IntegerField(null=True)
data = TextField(null=True, column_name="type")
receipt = TextField(null=True)
created_at = DateTimeField(null=True)
updated_at = DateTimeField(null=True)
Expand Down

0 comments on commit 2bdd65d

Please sign in to comment.