Skip to content

hardcode bon dapp config#1591

Merged
stefangutica merged 1 commit intodevelopmentfrom
bon-dapp-config
Mar 2, 2026
Merged

hardcode bon dapp config#1591
stefangutica merged 1 commit intodevelopmentfrom
bon-dapp-config

Conversation

@stefangutica
Copy link
Collaborator

Reasoning

  • /dapp/config returns mainnet data on bon network

Proposed Changes

  • hardcode bon confings when chain id returned by gateway is "B"

How to test

  • /dapp/config should return bon configs when bon env is used

@stefangutica stefangutica merged commit 58eae3e into development Mar 2, 2026
4 of 5 checks passed
@stefangutica stefangutica deleted the bon-dapp-config branch March 2, 2026 09:57
@github-actions
Copy link

github-actions bot commented Mar 2, 2026

k6 load testing comparison.
Base Commit Hash: bb8b755
Target Commit Hash: 9dde19d

Metric Base Target Diff
AvgMax9095AvgMax9095AvgMax9095
Blocks66.76728.5172.1877.0579.51494.0889.1395.75+19.10% 🔴-32.18% ✅+23.48% 🔴+24.26% 🔴
Transactions70.18198.1982.5692.5189.86200.01111.83123.52+28.03% 🔴+0.92% 🔴+35.46% 🔴+33.52% 🔴
Mex48.991005.2353.5156.0844.14899.4150.1754.59-9.90% ✅-10.53% ✅-6.25% ✅-2.66% ✅
Accounts70.78772.6882.0492.7890.02471.55114.85123.05+27.17% 🔴-38.97% ✅+39.99% 🔴+32.62% 🔴
Nodes2684.8513619.6813426.0613607.85750.7412832.77141.8112081.07-72.04% ✅-5.78% ✅-98.94% ✅-11.22% ✅
Pool48.38161.8453.5756.1144.15926.1450.1054.50-8.75% ✅+472.26% 🔴-6.47% ✅-2.87% ✅
Tokens48.50185.1653.6156.1544.271086.7050.0254.42-8.73% ✅+486.90% 🔴-6.69% ✅-3.08% ✅
Test Run Duration60010.6060003.06

Legend: Avg - Average Response Time, Max - Maximum Response Time, 90 - 90th Percentile, 95 - 95th Percentile
All times are in milliseconds.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants