Skip to main content

2 posts tagged with "Ethereum"

Ethereum transaction mechanisms and client source code analysis.

View All Tags

Hacks Deserve No Applause. User Assets Deserve Protection.

· 11 min read
Chris Gayle
Chris Gayle
Backend Engineer @CatFee

How an industry treats victims reveals how seriously it takes user assets.

After an exchange is attacked, technical discussion moves quickly: how the attacker obtained access, which addresses received funds, and which assets can be frozen. Such analysis helps trace losses and repair systems. But when the conversation becomes admiration for the attack or excitement about price movements, the ownership of those assets—and the people bearing the consequences—can disappear from view.

Other businesses face a test as well. A competitor's security incident may bring customer migration, commercial opportunities, or a temporary rise in certain assets. That is precisely when service providers should examine their own conduct: is the information accurate, is the recommended service appropriate, and is someone else's anxiety being used to close a sale?

Hacks deserve no applause. User assets deserve protection. That standard applies to the affected platform and to every provider seeking users' trust, including CatFee.

Transaction Ordering in TRON and Ethereum: Why Energy Delegation Can Arrive Too Late

· 22 min read
Chris Gayle
Chris Gayle
Backend Engineer @CatFee

You purchase Energy before sending USDT. Why does the transfer still burn TRX—or fail because it runs out of Energy?

In a wallet, exchange, or payment backend, the implementation often looks straightforward: broadcast the resource delegation transaction, then broadcast the user's transfer. The requests are sequential, and the first one returns a successful response. What could go wrong?

The order in which an application submits transactions is not necessarily the order in which a block producer executes them.

A common explanation is that TRON has no transaction nonce, while Ethereum does. That identifies an important difference, but leaves out its scope. TRON executes transactions in block order; it simply lacks Ethereum's per-sender nonce constraint. Ethereum's nonce, in turn, constrains transactions from the same account. It does not automatically establish dependencies between different accounts.

For Energy services, the requirement is more specific: when the user's transaction starts executing, the resources it needs must already be available—and still sufficient.