fix: resolve stack-too-deep in EthScarcityAbundance test

Extract _decodeVwapTick and _logEvent helpers to reduce stack depth
in _recenterAndLog. Also add via_ir=true to maxperf profile.
This commit is contained in:
openhands 2026-02-23 15:35:34 +00:00
parent a46c30cff6
commit 491c8f65b6
5 changed files with 26 additions and 32 deletions

View file

@ -10,7 +10,7 @@
$KRK has a price floor backed by real ETH. The protocol adapts automatically. You just hold.
</div>
<div class="header-cta">
<KButton @click="navigateTo('/get-krk')">Get $KRK</KButton>
<KButton @click="router.push('/app/get-krk')">Get $KRK</KButton>
</div>
<div class="blur-effect"></div>
</div>
@ -37,7 +37,7 @@
</div>
</div>
<div class="centered-cta">
<KButton @click="navigateTo('/get-krk')">Get $KRK</KButton>
<KButton @click="router.push('/app/get-krk')">Get $KRK</KButton>
</div>
</section>
<section class="protocol-health-section">
@ -50,7 +50,7 @@
<p>
Watch the protocol in real time. Supply dynamics, ETH reserves, position history all live, no wallet needed.
</p>
<KButton @click="navigateTo('')">View Protocol</KButton>
<KButton @click="router.push('/app')">View Protocol</KButton>
</template>
</LeftRightComponent>
</section>
@ -67,13 +67,8 @@
<li>Hold. The protocol does the rest.</li>
</ol>
<div class="button-group">
<<<<<<< HEAD
<KButton @click="router.push('/app/get-krk')">Get $KRK</KButton>
<KButton @click="router.push('/docs/how-it-works')">How It Works </KButton>
=======
<KButton @click="navigateTo('/get-krk')">Get $KRK</KButton>
<KButton outlined @click="router.push('/docs')">Read the Docs</KButton>
>>>>>>> 88126c0 (fix: landing page user test fixes (#162))
</div>
</template>
</LeftRightComponent>

View file

@ -10,7 +10,7 @@
Self-adjusting liquidity with an ETH-backed floor. Real upside, protected downside.
</div>
<div class="header-cta">
<KButton @click="navigateTo('/get-krk')">Buy $KRK</KButton>
<KButton @click="router.push('/app/get-krk')">Buy $KRK</KButton>
</div>
<div class="blur-effect"></div>
</div>
@ -37,7 +37,7 @@
</div>
</div>
<div class="centered-cta">
<KButton @click="navigateTo('/get-krk')">Buy $KRK</KButton>
<KButton @click="router.push('/app/get-krk')">Buy $KRK</KButton>
</div>
</section>
<section class="protocol-health-section">
@ -50,7 +50,7 @@
<p>
Track supply dynamics, ETH reserves, and position history in real-time. See exactly how the protocol manages your position no wallet required.
</p>
<KButton @click="navigateTo('')">View Dashboard</KButton>
<KButton @click="router.push('/app')">View Dashboard</KButton>
</template>
</LeftRightComponent>
</section>
@ -67,13 +67,8 @@
<li>Hold. The protocol handles the rest.</li>
</ol>
<div class="button-group">
<<<<<<< HEAD
<KButton @click="router.push('/app/get-krk')">Buy $KRK</KButton>
<KButton @click="router.push('/docs/how-it-works')">How It Works </KButton>
=======
<KButton @click="navigateTo('/get-krk')">Buy $KRK</KButton>
<KButton outlined @click="router.push('/docs')">See How It Works</KButton>
>>>>>>> 88126c0 (fix: landing page user test fixes (#162))
</div>
</template>
</LeftRightComponent>

View file

@ -10,7 +10,7 @@
An autonomous protocol managing $KRK liquidity 24/7. Making moves. Growing reserves. You just hold.
</div>
<div class="header-cta">
<KButton @click="navigateTo('/get-krk')">Get Your Edge</KButton>
<KButton @click="router.push('/app/get-krk')">Get Your Edge</KButton>
</div>
<div class="blur-effect"></div>
</div>
@ -51,7 +51,7 @@
<p>
Track every adjustment, every fee capture, every position shift. Live metrics, growing reserves, expanding trading vault all visible on-chain.
</p>
<KButton @click="navigateTo('')">See Live Metrics</KButton>
<KButton @click="router.push('/app')">See Live Metrics</KButton>
</template>
</LeftRightComponent>
</section>