
Digital Cowboy @RoadsLogs Research, Math, AIOps, DeFi, Weird
Wilmington
Joined September 2008
- Tweets23.7K
- Following3.1K
- Followers1.5K
- Likes22.8K
rsivakov.eth Roman Sivakov🦞👾 retweeted
1/ Can Large Language Models (LLMs) truly reason? Or are they just sophisticated pattern matchers? In our latest preprint, we explore this key question through a large-scale study of both open-source like Llama, Phi, Gemma, and Mistral and leading closed models, including the recent OpenAI GPT-4o and o1-series.
arxiv.org/pdf/2410.05229
Work done with @i_mirzadeh, @KeivanAlizadeh2, Hooman Shahrokhi, Samy Bengio, @OncelTuzel.
#LLM #Reasoning #Mathematics #AGI #Research #Apple
rsivakov.eth Roman Sivakov🦞👾 retweeted
this report is legit, the extension code is heavily obfuscated and it clearly doesn't do what it says. it seems to be only targeting windows. the installs are probably bots, but still check if you have it installed, and if so, delete and report it.
This post is from an account that no longer exists. Learn more
Shared my experience in ZuVillage in Georgia this year and raised the concern about the correct use of technology without which decentralization is just a rhetoric. We have tech ready, now we need to implement it correctly. mirror.xyz/vlprosvirkin.eth/…
11
24
786
Love these project and @vlprosvirkin
They do some really interesting stuff
🚀 BIG NEWS ALERT! 🚀
Aspis Protocol team is thrilled to announce a game-changer in decentralized finance. Say hello to the future of trading with our new API for launching algorithmic strategies in a fully decentralized vault!
Read more here: mirror.xyz/aspisprotocol.eth…
2
5
522
rsivakov.eth Roman Sivakov🦞👾 retweeted
Raise your hand if you stuggle with finding BD and DevRel connections in crypto.
What if there were a platform to connect you directly with verified BD and DevRel staff at popular protocols and VC funds.
How much would you pay for quick access to the right person?
rsivakov.eth Roman Sivakov🦞👾 retweeted
Replying to @rsivakov
all of them are added to web3forall.xyz/ :)
Very cool!
I've been working on this thing for the past 3 years on and off. It started as a fun side project but grew into something huge (like, REALLY HUGE). You've never seen anything like it! Check out my detailed post below.
And zoom this thing in Figma 🔍 figma.com/design/pENhenndHyI…
rsivakov.eth Roman Sivakov🦞👾 retweeted
He who owns the customer captures the value
In mature markets, the participant in the stack that is closest to the end user captures the lion's share of the value.
We see it in finance, where brokers (frontends) like Robinhood or eTrade get the first proverbial "bite of the apple". The power comes from the ability to direct flows to market-makers. (Citadel pays over $2B/year in payment-for-order-flow (PFOF) agreements to retail brokers.)
I saw it personally. As a high-frequency trader, I operated strategies that quoted miniscule spreads on government bonds to banks, who added a markup that was 5x+ of my spread before quoting those to their customers. Because they had the relationship with the customer, it was in their power to capture the majority of the spread the customer was ultimately willing to pay, while as a commodity service provider (just one of many HFTs quoting the bank) I had to quote as tightly as possible.
We see the same pattern in retail, where the last mile seller (the physical store) marks up an item hundreds of percentage points from the cost to produce and transport it. For example clothing is typically marked up 100-500%.
Tradeoffs and the unique opportunity for decentralized apps
It'd be remiss to ignore the tradeoffs. In retail, a high markup on goods is offset by the cost of rent, labor to operate the store, risk of damage or theft, and inventory risk.
And in the government bond world, it has taken banks decades to build up their client base, while building out a massive array of services and staffing their Sales & Trading desks 24/7 (not to mention treating customers to expensive dinners and perks).
But technology makes it sometimes possible to build businesses that reach a global audience and capture a ton of users, while minimizing operational costs. I believe that decentralized apps have this possibility.
I started my first job out of college in 2011 at an HFT firm called Getco. When I left two years later, I remember hearing about a startup called Robinhood that was trying to disrupt the brokerage space by offering a great UX and free brokerage fees.
As a trader, the value prop made sense to me - why nickel-and-dime the customer when the more valuable thing was actually the ability to control where their flows get sent. (The value prop apparently also made sense to the CTO at Getco, who left around the same time and joined Robinhood as an advisor.)
Fast forward to today and Robinhood is a $20B company that dominates the space of retail trading. Today, it is obvious that customer-centric businesses are one of the most valuable portions of the trading space. But at the time the incumbents were stagnant and there was an opportunity ripe for the taking.
Apps in Crypto
There is currently a feeling within crypto that infra gets all of the attention and funding. This situation seems ironic when considering the long-term equilibrium of mature markets, where user-centric apps capture substantial value and wield substantial leverage.
Building a great app isn't easy. You need a killer idea. And then you have to master product, design, user aquisition, maybe even customer support.
Nothing great is easy. But I would say, the opportunity is there.
Keep Building.
rsivakov.eth Roman Sivakov🦞👾 retweeted
the @base core team just proposed the Fjord upgrade:
- EIP7212 which reduces smart wallet fees 90%+
- Brotli compression which decreases DA costs 5-15%
- FastLZ data fee which makes L1 data more accurate
can't stop, won't stop, making the chain better
gov.optimism.io/t/upgrade-pr…
rsivakov.eth Roman Sivakov🦞👾 retweeted
ERC-7739.
A defensive rehashing scheme which prevents signature replays across smart accounts and preserves the readability of the signed contents.
tldr; enables smart accounts to sign signatures safely without vendor specific SDKs.
ethereum-magicians.org/t/erc…
Starting Monday, have everyone write 1 module.
As I was asked a few times at @EthCC, here's a guide how to build apps with @Safe and ERC-7579 modules.
docs.safe.global/advanced/er…
200
Everyone knows that Chuck Norris was the first to create cryptography in the world. And it could have been a portrait.
But @stepahin took up the task of studying it,
and it turned out that these guys have done a little more 🤷♂️
I'm working on my historical project, and instead of using poor mediocre photos, filters, illustrations, photoshop stuff, I created impossible portraits of Crypto legends. No one's done this before! This mega-thread will feature the first 102.
But what do I mean by impossible?
2
254
rsivakov.eth Roman Sivakov🦞👾 retweeted
Replying to @platoff
COM-файл FA F4 (cli hlt) намертво вешает DOS, Ctrl+Alt+Del не помогает, только кнопка reset на корпусе.
COM-файл EA F0 F0 F0 F0 перезагружает DOS. Это длинный прыжок на адрес FFFF0, где собственно в BIOS начинается процедура запуска системы. Можно EA FF FF 00 00, но мне нравится первый вариант, потому что он состоит из печатаемых символов, и его можно набить в консоли (используя Alt+цифры) в голой командной строке без хексового редактора.
Replying to @zellic_io
@zellic_io hey guys, I happened to be on your blog page, started reading a little bit and an hour went by somewhere unnoticed. this is really great writing!
I don't know who you are yet, but I like you.
Thank you 🫶
rsivakov.eth Roman Sivakov🦞👾 retweeted
MEV Attacks + example 👇🫡
Usually, such attacks are not done manually by users, but with the help of MEV bots with programmed strategies, who identify opportunities and execute them.
On a high level, MEV attacks can be separated into two categories: malicious, i.e. profiting from users, and non-malicious, i.e. gaining additional profit without causing others to lose. We’ll start with the latter.
Non-Malicious Attacks
Arbitrage trading:
First, let’s understand what is arbitrage trading and then find out how it’s possible via MEV attacks. If we look at Investopedia, the definition is the following:
The simultaneous purchase and sale of the same or similar asset in different markets in order to profit from tiny differences in the asset’s listed price.
In Web3 it would be buying ETH on DEX A for $3400 and selling on DEX B for $3375.
It is one of the strategies that can be easily programmed into the MEV bot to extract additional value from the current blockchain state without causing users to lose money.
Liquidations:
In case of liquidations on Lending & Borrowing protocols or Decentralised Perps, MEV bots track the health factors of all open positions to find an opportunity to force-close them and get the liquidation fee. On the one hand, it is malicious since they liquidate a user, but corresponding bots help to keep the protocol healthy and not accrue bad debt.
Malicious Attacks:
The most famous example of a malicious MEV attack is sandwiching transactions. Let’s look at several examples of Sandwich MEV Attack examples.
Sandwich swaps:
Probably one of the most common types of sandwich attacks. The miner/validator can front-run the victim’s swap by significantly increasing the token’s price, then the user’s transaction moves up the price even higher and the MEV bot back-runs with swapping back.
In this attack, the malicious actor profits from users significantly increasing the price and allowing the attacker to sell higher than buying. Moreover, the victim receives far fewer tokens than they should.
Just-in-time liquidity:
This type of MEV attack also occurs on token swaps. But this time, when the attacker sees a large swap going to happen inside the block, they front-run the user’s transaction by adding liquidity into the pool, the user’s swap goes through and the MEV bot back-runs the transaction by withdrawing from the pool and getting the fees as an LP.
In this attack, the malicious actor profits from the fees generated as an LP for that transaction. What is more important here is that the attacker, essentially, steals these fees from other LPs who have been providing liquidity for a longer time.
Stealing vault rewards:
This strategy involves the vaults where the rewards are sent in one transaction, i.e. when rewards are not accrued over time, but at a specific time. MEV bots can identify when the vault depositors will get the rewards, front-run this transaction by depositing into the vault, get the rewards, and back-run by withdrawing from the vault.
The profit is similar to the previous attack, the malicious actor steals the rewards from the users who have been investing in the vault for a longer time.
Time Bandit Attack:
As the name suggests, the malicious actor manipulates the time between the transaction creation and inclusion in the block. It allows them to create more a favourable condition for the MEV attack.
The profit from Time Bandit Attacks can vary significantly since it can be used in any attack described above to gain more value.
Code Examples:
Let’s dive into code to try and understand how to identify MEV attacks. This type of attack wasn’t mentioned above — sandwiching Oracle updates. This particular issue was a solo finding in the Olympus Update contest in 2023.
There is a wstETH and OHM pool, when users want to withdraw, the current oracle price is used to calculate the expected wstETH amount to be received by the user.
Now let’s dive into the attack.
1. The wstETH/OHM current price is assumed to be 0.995, cause there are 79.8 wstETH and 80.2 OHM. Oracle’s price is 1:1 and it’s going to be updated to 0.995 wstETH/OHM:
Liquidity in the pool: 80.2 wstETH and 79.8 OHM.
Attacker: 20 wstETH.
2. The attacker swaps 0.2 OHM to make the liquidity equal:
Liquidity in the pool: 80 wstETH and 80 OHM.
Attacker: 20.2 wstETH and -0.2 OHM.
3. Attacker deposits their 20 wstETH into the pool:
Liquidity: 100 wstETH and 100 OHM (when you deposit wstETH, OHM token gets minted).
Attacker: 0.2 wstETH and -0.2 OHM.
4. And now they sell slightly more wstETH to OHM:
Liquidity: 100.252 wstETH and 99.748 OHM.
Attacker: -0.052 wstETH and 0.052 OHM.
Important to note here that all the actions above are done in the same transaction. The Oracle price updates to 0.995 OHM per wstETH. By this point, the attacker has already balanced the pool to post-oracle-update condition, thus they can extract the entire wstETH deposited:
1. Withdraw liquidity:
Liquidity: 80.202 wstETH and 79.798 OHM.
Attacker: 19.998 wstETH and 0.052 OHM.
2. The profit here is 0.052 OHM which the attacker sells and ends up with 20.05 wstETH which is equal to 0.05 wstETH.
Mitigation
There are several recommendations to avoid MEV attacks:
1. When the MEV attack involves depositing into a vault/pool, then it’s recommended to set a timelock, i.e. don’t allow the attacker to withdraw for 1 week after the deposit.
2. Slippage and deadline controls will allow to mitigate sandwiching swaps and time bandit attacks.
3. Avoid stepwise jumps, i.e. don’t allow an attacker to extract additional value from one transaction, for example, stealing vault rewards.
4. Get another round of audits. MEV attacks are known but in some cases can be too complex for auditors to find them. Therefore, hiring a team of professionals like Shieldify to conduct security research is essential. If you’re interested, please press the “Contact” button in the top-right corner.
Conclusion
As you’ve probably understood, MEV attacks are simply sandwich attacks coded into bots in most cases. Moreover, they can be either good, helping to keep the protocols healthy, or bad, leading to users and protocols losing funds. As security researchers, we have to know and be able to identify all the possible MEV Attack vectors correctly.
rsivakov.eth Roman Sivakov🦞👾 retweeted
Pre-confirmations, Based Rollups, Shorter Block times.
You may have heard a lot about these topics the past week in the discourse among the Eth community.
What's Paradigm's angle and what are the EF's plans?
In this post I'll try to shine some light on what the core motivations behind these research trends are.
Btw, this is all purely speculation on my part, so here it goes...
--
You may have noticed Paradigm and other researchers be some what critical of the recent research acceleration towards based rollups and pre-confirmation schemes that aim to offer inclusion guarantees + varying degrees of atomicity between based rollups and ETH mainnet.
What Charlie from Paradigm specifically suggested was that perhaps based rollups (L1 validators acting as L2 sequencers) aren't desirable for rollups themselves, and instead, if the idea is to give more work to the L1 validator, then maybe we should simply give more work to the L1 validator on mainnet and encourage more app development on the L1.
Charlie suggested it could be done by accepting that "solo staking is not sustainable in its current form" and increasing block times, making mainnet an attractive place to build again.
But why lower block times? Does Paradigm want to turn ETH into solana?
The primary reason (imo) that shorter block times are desirable isn't necessarily because every app needs shorter blocks (I'm sure most ppl are not bothered by slightly longer blocks when using a lender or when making a transfer). The primary reasons are LVR for LPs and staleness in oracle updates.
Loss Versus Rebalancing (LVR) isolates the 'cost' of arbitrage for LPs. It's essentially the price LPs pay to arbitrageurs in order to maintain updated AMM prices. (ps - LVR does not consider divergence loss)
LVR is absolutely critical to the PnL of LPs, specifically for the short tail (assets like Eth, Btc). LVR is also directly related to block times.
Longer blocks = more LVR for LPs
LVR is so critical to the sustainability of LPs (Yes, LPs actually do make money despite common misconceptions) that it's basically a deal breaker.
If you don't believe me, simply look at the profitability of LPs on Arbitrum (sub second block times) versus the LPs on Eth Mainnet (12sec block times), the difference is staggering..
And as for oracle updates, well I don't need to explain why stale oracles can be extremely problematic for apps using them, that's pretty self explanatory.
So what Charlie from Paradigm meant by 'making L1 more attractive for apps' is to ensure that liquidity can survive on L1, in order to support a growing ecosystem on top.
Whether we want to build lending protocols or exotic leverage engines or basically any application, we need liquidity to support it, and we need accurate price updates for oracle dependant apps. Without immediate liquidity and performant oracles, many app ideas simply become unviable.
To sum up this part:
NO, Paradigm is not trying to kill solo staking or turn Eth into Solana, they're thinking practically in terms of what is and isn't possible with the current block production process.
Their motivation isn't to dismiss Based Rollups and related research topics, it's to embrace a proven/empirical method for reducing LVR and improving oracle performance; shorter block times.
So what do Ethereum Researchers think about all this? (remember this is entirely my speculative opinion)
The EF are fierce believers in keeping the costs to verify the chain as low as possible. This is because one of the main measures of decentralization is the difficulty of running a "full node" (aka following along and verifying the chain in real time without participating in consensus).
Shorter block times leads to higher protocol through-put and increased state growth, which in turn increases the costs of verifying the chain (something the EF and Eth community are not willing to compromise on).
What is their plan?
Imo the EF recognizes Charlie and Paradigm's arguments about LVR, etc, but they see a different path forward to rectifying the issue.
I think a lot of the research going into pre-confs, based rollups and inclusion guarantees is in the spirit of recognizing the importance of liquidity / performant oracles for L1 dapps, and to create maximum composability/synchronicity between based rollups and the L1 in order to service L1 dApps.
What do I mean by that? I mean that the research going into the mechanism designs that are the topic of this post is specifically to reduce the barrier, time and number of hops (txs) needed for the L1 to communicate with the L2 and vice versa.
The idea is that if there can be inclusion guarantees between based rollups and mainnet, then liquidity can remain entirely on L2 where execution is fast and LVR is minor, and the apps that live on L1 but rely on that liquidity, could tap into those smart contracts as if they were on the same chain.
That is a pretty impressive and ambitious objective imo.
The idea that two separate, yet connected execution environments with varying block times can be somewhat synchronous and highly composable, is quite brilliant imo.
However, that approach does not come without execution risks. As many have pointed out in various threads and blog posts over the past month, there can be some unforeseen implications and negative externalities that come such untested designs.
Namely, ppl are concerned with the necessary changes in block building architecture to get us there and how they play into other aspects of Ethereum's potential roadmap.
Another issue with the above approach is that by the time these designs are implemented, maybe most dApps have already found new homes (either on L2 or other chains) and the switching costs are no longer worth it.
Suffice to say, there are a lot of questions about this approach. Which is what I think it all boils down to at the end of the day.
Paradigm sees that there is a very simple and proven path to sustainable liquidity provision and performant dApp development with shorter block times on L1, and they think the rewards out ways the risks as well as the increase in costs of verifying the chain.
Ethereum researchers are more interested in not making compromises to full node requirements, but instead, making some compromises in terms of tx supply chain complexity and mechanism design, in order to service the L1 ecosystem.
At the end of the day, neither side has any bad or selfish intentions imo. Both sides want to progress the community forward.
One side seems to favor a simple, proven approach. The other side prefers a more academically challenging, ambitious and generally riskier approach to the same goal.
My opinion here is that what the EF is trying to do is probably the optimal path in the long term.
My reasoning is that, even if the approach fails to attract L1 dApp development (perhaps because it takes too long to ship), this sort of L1 <> L2 composability and synchronicity is an absolute necessity for the future of any chain (not just ethereum).
IMO every application that doesn't benefit from immediate composability is going to want their own execution environment, they are simply incentivized to capture more of the value they create. In fact, we are already seeing this today and as block production becomes even easier, this trend will accelerate further.
BUT, what about dApps that do need immediate composability? They too will want to capture more from their immediate execution environment, but the costs of giving up composability are too high.
That's where some of this research into pre-confirmations and inclusion guarantees comes into play. It would allow dApps on various rollups to communicate and interact with each other and mainnet as if they were all on one giant state machine despite being in separate execution environments.
IMO that is a massive unlock for the future that may very well be worth the implementation risks.
Before I end this I should caveat that I'm personally still a bit skeptical of some early research ideas that are adjacent or tangental to the topics of this post, but what I really appreciate is the depth of discussion and discourse that goes into these ideas well before they ever reach implementation phase.
TL;DR -
Ethereum has some of the brightest minds researching and working on how to build the global settlement layer, and doing so out in the open, means there will always be competing ideas and philosophies on how to get us there, which also serves as a good check and balance on the overall direction we're headed.
Long Live Ethereum✌️























