У нас вы можете посмотреть бесплатно Fixing Registration Errors & Validating Chaincode Execution in Hyperledger Fabric - Chapter 17 или скачать в максимальном доступном качестве, видео которое было загружено на ютуб. Для загрузки выберите вариант из формы ниже:
Если кнопки скачивания не
загрузились
НАЖМИТЕ ЗДЕСЬ или обновите страницу
Если возникают проблемы со скачиванием видео, пожалуйста напишите в поддержку по адресу внизу
страницы.
Спасибо за использование сервиса ClipSaver.ru
#blockchain #ethereum #hyperledger #project #web3 Akshay Kurhekar In this chapter, we debug and fix a critical issue preventing the register API from working in our Hyperledger Fabric Node SDK setup. You’ll see how to identify mismatched affiliations, validate wallet certificates, and correct attribute-level access control in the Node service layer. We verify the entire flow end-to-end: Check Fabric containers & chaincode deployment Fix incorrect affiliation (department → department1) Validate user certificates in the wallet Successfully register donors Generate badges with QR + upload to IPFS Register NGOs using NGO admin credentials Retrieve NGO & donor data from the network Register banks and validate roles Create funds using the fund smart contract Debug “stub undefined” chaincode errors Redeploy chaincode using sequence upgrades in Fabric 2.5 Confirm updated chaincode containers Run deep-level debugging inside chaincode with logs This is one of the most important debugging-focused chapters in the series — showing how a production-grade Fabric system is built, diagnosed, and corrected. ❤️❤️ Community Group📑❤️❤️ Join Telegram group: https://t.me/+TA5t-NO3K2g1ZTM1 Join WhatsApp group: https://chat.whatsapp.com/FvQUN79V6u5... ❤️❤️ Let's connect📑❤️❤️ Check here: https://calendly.com/akshaykurhekar14... ❤️❤️Timeline - Topic Covered 🚀❤️ 0:00 - Intro 00:00 – Intro & Recap Review of last chapter and context for the registration failure. Shows chaincode containers running via Docker. 00:40 – Identifying the Root Cause Issue traced to script mismatch in affiliation. department should be department1. 01:15 – Fixing Affiliation & Attributes Updates service file to use correct affiliation values. Explains why affiliation needs to match CA configuration. 02:10 – Registering Admin & Users Registers government admin, NGO admin, and government user. Confirms wallet entries. 02:50 – Running Node Server Starts Node SDK on port 5000 using npm run dev. 03:20 – Testing Register Donor API Registers donor (Akshay) → generates badge → uploads to IPFS. CID returned successfully. 04:15 – Verifying Generated Badge Opens badge via IPFS gateway. Displays donor name, role, timestamp, and QR code. 04:50 – Fetching Donor Data Tests get all donors, get donor by ID. Multiple donors tested (Akshay, Bob). 06:00 – Registering NGOs Explains requirement for NGO admin users (not only org-level admins). Creates registerNGOAdminUser.js script. 07:00 – Generating NGO Admin User Runs script → wallet entry created. NGO registration now possible. 07:35 – Testing Register NGO API Creates NGO entries. Debugs CID object mapping. Fixes IPFS link extraction. 08:30 – Verifying NGO Badges Opens both NGO badges from IPFS. Shows NGO name, address, role, QR, and timestamp. 09:10 – Registering Banks Government admin registers banks (e.g., SBI Pune). Badge generated & uploaded. 10:00 – Attempting Fund Creation NGO user invokes createFund API. Error occurs: “Cannot read properties of undefined (reading 'stub')” 10:40 – Debugging Fund Chaincode Adds logs in chaincode (fundContract.js) around: assetExists fund key fund object context 11:30 – Redeploying Chaincode (Sequence Upgrade) Uses Fabric 2.5 upgrade process: Keep same chaincode name Increase sequence and version Deploy new package 12:10 – Verifying New Chaincode Container Docker shows updated container with new startup timestamp. Old logs cleared; new logs visible. 12:40 – Retesting createFund API Chaincode logs appear correctly for fund existence check. Error confirmed to originate in chaincode. 13:00 – Deep Dive Debugging Works through fund contract logic, comparing with working user contract logic. Identifies missing or misaligned context handling inside contract. Playlists ❤️🔔: • Top Blockchain Technology Projects Ideas 💡 • Solidity Programming ❤️ | Detailed Course ... • Cryptography in Blockchain • Blockchain Basics in Hindi • Плейлист ❤️🚀 Social Handle❤️🌐 You can follow me on: IinkedIn : / akshay-kurhekar-64438a168 Instagram: / akshay_kurhekar Dev Community: https://dev.to/akshaykurhekar So, what are you waiting for? Hit the subscribe 🔔 button, share 🔊 this video with your friends, and don't forget to smash that like 👍 button. I'll see you in the next video. Until then, ❤️JAI HIND! ❤️